[PATCH 3/4 v4] tpm: sandbox: Change the return code when device is already open

Simon Glass sjg at chromium.org
Tue Feb 21 20:35:38 CET 2023


On Sat, 18 Feb 2023 at 08:27, Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> 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.
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---
> Changes since v3:
> - New patch. Required for [4/4]
>
>  drivers/tpm/tpm2_tis_sandbox.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list