tpm1: reimplement SAVESTATE using tpm_buf
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 19 Oct 2018 18:23:05 +0000 (21:23 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 13 Nov 2018 11:46:31 +0000 (13:46 +0200)
commit9315e73ac87065acd898d3f15b9f524ca86736a7
tree5a66cb3fbb13557b0881ea6e1ecfe33077ea6bca
parentcfddcb05e13472eba0d7c869704f23a590ef34a8
tpm1: reimplement SAVESTATE using tpm_buf

In tpm1_pm_suspend() function reimplement,
TPM_ORD_SAVESTATE comamnd using tpm_buf.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm1-cmd.c