]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit041cac6990be137cca1d302b8601fbc4ba325172
tree803861da96938d1396dceb45d1583b742843f4ce
parent4a70ca37566b6180fb8ca265ac628e5dde26da93
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: 5c5b996c8cb9 ("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