tpm, tpm_tis: Reserve locality in tpm_tis_resume()
authorJarkko Sakkinen <jarkko@kernel.org>
Mon, 10 May 2021 12:28:31 +0000 (15:28 +0300)
committerJarkko Sakkinen <jarkko@kernel.org>
Wed, 12 May 2021 19:36:42 +0000 (22:36 +0300)
commit8a2d296aaebadd68d9c1f6908667df1d1c84c051
tree803861da96938d1396dceb45d1583b742843f4ce
parente630af7dfb450d1c00c30077314acf33032ff9e4
tpm, tpm_tis: Reserve locality in tpm_tis_resume()

Reserve locality in tpm_tis_resume(), as it could be unsert after waking
up from a sleep state.

Cc: stable@vger.kernel.org
Cc: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Reported-by: Hans de Goede <hdegoede@redhat.com>
Fixes: a3fbfae82b4c ("tpm: take TPM chip power gating out of tpm_transmit()")
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_tis_core.c