On Wed, Nov 15, 2017 at 02:07:11PM -0800, Azhar Shaikh wrote: > Commit 5e572cab92f0bb5 ("tpm: Enable CLKRUN protocol for Braswell > systems") disabled CLKRUN protocol during TPM transactions and re-enabled > once the transaction is completed. But there were still some corner cases > observed where, reading of TPM header failed for savestate command > while going to suspend, which resulted in suspend failure. > To fix this issue keep the CLKRUN protocol disabled for the entire > duration of a single TPM command and not disabling and re-enabling > again for every TPM transaction. > > Fixes: 5e572cab92f0bb5 ("tpm: Enable CLKRUN protocol for Braswell systems") > > Signed-off-by: Azhar Shaikh <azhar.shaikh@xxxxxxxxx> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxx> /Jarkko