Re: [PATCH] tpm: turn on TPM on suspend for TPM 1.x

2019-03-29 Thread Jarkko Sakkinen
On Thu, Mar 28, 2019 at 06:19:26PM +0100, Domenico Andreoli wrote: > On Fri, Mar 22, 2019 at 12:51:20PM +0200, Jarkko Sakkinen wrote: > > 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

Re: [PATCH] tpm: turn on TPM on suspend for TPM 1.x

2019-03-28 Thread Domenico Andreoli
On Fri, Mar 22, 2019 at 12:51:20PM +0200, Jarkko Sakkinen wrote: > 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. > >

[PATCH] tpm: turn on TPM on suspend for TPM 1.x

2019-03-22 Thread Jarkko Sakkinen
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()")