Skip to content
Snippets Groups Projects
Commit 87bc11d5 authored by Ilias Apalodimas's avatar Ilias Apalodimas
Browse files

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's avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent 78fd2f54
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment