Commit 0637c10e authored by Stefano Garzarella's avatar Stefano Garzarella Committed by Jarkko Sakkinen
Browse files

tpm/tpm_ftpm_tee: support TPM_CHIP_FLAG_SYNC



This driver does not support interrupts, and receiving the response is
synchronous with sending the command.

Enable synchronous send() with TPM_CHIP_FLAG_SYNC, which implies that
->send() already fills the provided buffer with a response, and ->recv()
is not implemented.

Signed-off-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Reviewed-by: default avatarSumit Garg <sumit.garg@oss.qualcomm.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 04fe4701
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment