]> Git Repo - u-boot.git/commit
tpm: sandbox: Change the return code when device is already open
authorIlias Apalodimas <[email protected]>
Sat, 18 Feb 2023 15:18:49 +0000 (17:18 +0200)
committerIlias Apalodimas <[email protected]>
Tue, 28 Feb 2023 07:44:25 +0000 (09:44 +0200)
commit87bc11d5e2d79e8269206cc7fc96af896a46f983
tree641dd11630245737ee3e48c8bd61248951eb2f80
parent78fd2f54d5e1411b164a4757f5d8b307a3811eb5
tpm: sandbox: Change the return code when device is already open

All the TPM drivers as well as out TCG TIS API for a TPM2.0 device
return -EBUSY if the device has already been opened.  Adjust
the sandbox TPM do return the same error code.

Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
drivers/tpm/tpm2_tis_sandbox.c
This page took 0.033106 seconds and 4 git commands to generate.