]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: consolidate the TPM startup code
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 21 Jun 2017 07:31:34 +0000 (09:31 +0200)
committerJames Morris <james.l.morris@oracle.com>
Thu, 6 Jul 2017 23:49:25 +0000 (09:49 +1000)
commitc0e84fd8b19e9ad26ef26f589f39e20316b3e9e4
tree8b1e0fc6a59db5b4e95171522fac6d7f9439defb
parent4a2a7b370e9bf5e2352984b3a45e8e6ed04c91f2
tpm: consolidate the TPM startup code

Consolidated all the "manual" TPM startup code to a single function
in order to make code flows a bit cleaner and migrate to tpm_buf.

Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
drivers/char/tpm/tpm-interface.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm2-cmd.c