commit | 3c9d75f97c61f370c2882649655c451ee36f1488 | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Sat Feb 18 17:18:49 2023 +0200 |
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Tue Feb 28 09:44:25 2023 +0200 |
tree | 641dd11630245737ee3e48c8bd61248951eb2f80 | |
parent | 0c95d22814e15c2c7ec76b548dae6c9a0f8068af [diff] |
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 <sjg@chromium.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>