diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2019-08-20 08:25:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 15:12:17 +0200 |
commit | 7f064c378e2c8c848c7acc3ebba7ec45df1c5492 (patch) | |
tree | b671007b489dd89ea91795eeaf01686ccc70589b /lib/test_sysctl.c | |
parent | 66252f7ac474e559a3020fb421be544adb056bbb (diff) |
tpm_tis_core: Turn on the TPM before probing IRQ's
commit 5b359c7c43727e624eac3efc7ad21bd2defea161 upstream.
The interrupt probing sequence in tpm_tis_core cannot obviously run with
the TPM power gated. Power on the TPM with tpm_chip_start() before
probing IRQ's. Turn it off once the probing is complete.
Cc: linux-stable@vger.kernel.org
Fixes: a3fbfae82b4c ("tpm: take TPM chip power gating out of tpm_transmit()")
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_sysctl.c')
0 files changed, 0 insertions, 0 deletions