]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: Introduce function to poll for result of self test
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 11 Nov 2011 17:57:04 +0000 (12:57 -0500)
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>
Wed, 16 Nov 2011 11:42:59 +0000 (09:42 -0200)
commitfc5bd4f9f811d9f5a7bcfd85f9601dec26ddd504
treefb02641cb1941a6d9c23ac3df37d6aafcd4f7f3a
parent32e620370ac73ea40f3fd67c0e57da736ad60de8
tpm: Introduce function to poll for result of self test

This patch introduces a function that runs the TPM_ContinueSelfTest()
function and then polls the TPM to check whether it finished the selftest
and can receive new commands.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_tis.c