Re: [PATCH v11 08/16] tpm: clean up tpm_try_transmit() error handling flow

2019-02-07 Thread Stefan Berger
On 2/5/19 5:47 PM, 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 Tested-by: Stefan Berger Reviewed-by: Jerry Snitselaar Reviewed-by: James Bottomley ---

[PATCH v11 08/16] tpm: clean up tpm_try_transmit() error handling flow

2019-02-05 Thread Jarkko Sakkinen
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 Tested-by: Stefan Berger Reviewed-by: Jerry Snitselaar Reviewed-by: James Bottomley --- drivers/char/tpm/tpm-interface.c | 94 ++