summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm-dev-common.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-03-22 13:51:20 +0300
committerJames Morris <james.morris@microsoft.com>2019-04-09 01:58:52 +0300
commite891db1a18bf11e02533ec2386b796cfd8d60666 (patch)
treeb750c0c024caa9d047add14dbe52f4259080dcc5 /drivers/char/tpm/tpm-dev-common.c
parentfd008d1a7a204695f0e5e003af16448bb9c34b7b (diff)
downloadlinux-e891db1a18bf11e02533ec2386b796cfd8d60666.tar.xz
tpm: turn on TPM on suspend for TPM 1.x
tpm_chip_start/stop() should be also called for TPM 1.x devices on suspend. Add that functionality back. Do not lock the chip because it is unnecessary as there are no multiple threads using it when doing the suspend. Fixes: a3fbfae82b4c ("tpm: take TPM chip power gating out of tpm_transmit()") Reported-by: Paul Zimmerman <pauldzim@gmail.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Domenico Andreoli <domenico.andreoli@linux.com> Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'drivers/char/tpm/tpm-dev-common.c')
0 files changed, 0 insertions, 0 deletions