tpm: add support for nonblocking operation
Currently the TPM driver only supports blocking calls, which doesn't allow asynchronous IO operations to the TPM hardware. This patch changes it and adds support for nonblocking write and a new poll function to enable applications, which want to take advantage of this. Tested-by: NPhilip Tricca <philip.b.tricca@intel.com> Signed-off-by: NTadeusz Struk <tadeusz.struk@intel.com> Reviewed-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off--by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Showing
想要评论请 注册 或 登录