Re: [PATCH v5 06/17] tpm: clean up tpm_try_transmit() error handling flow

2018-11-08 Thread Stefan Berger
On 11/8/18 9:15 AM, Jarkko Sakkinen wrote: Move locking, locality handling and power management to tpm_transmit() in order to simplify the flow. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 71 1 file

[PATCH v5 06/17] tpm: clean up tpm_try_transmit() error handling flow

2018-11-08 Thread Jarkko Sakkinen
Move locking, locality handling and power management to tpm_transmit() in order to simplify the flow. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-interface.c | 71 1 file changed, 35 insertions(+), 36 deletions(-) diff --git a/drivers/char/tpm/tpm-in