diff options
author | Jarkko Sakkinen <[email protected]> | 2018-11-05 02:07:56 +0200 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2019-02-13 09:48:40 +0200 |
commit | a3fbfae82b4cb3ff9928e29f34c64d0507cad874 (patch) | |
tree | ebe97b36432fb956646a9a039fc7a3fdeae456ad /scripts/gdb/linux/modules.py | |
parent | 719b7d81f2048477f89f7303e2b4ddec8197e6e3 (diff) |
tpm: take TPM chip power gating out of tpm_transmit()
Call tpm_chip_start() and tpm_chip_stop() in
* tpm_chip_register()
* tpm_class_shutdown()
* tpm_del_char_device()
* tpm_pm_suspend()
* tpm_try_get_ops() and tpm_put_ops()
* tpm2_del_space()
And remove these calls from tpm_transmit(). The core reason for this
change is that in tpm_vtpm_proxy a locality change requires a virtual
TPM command (a command made up just for that driver).
The consequence of this is that this commit removes the remaining nested
calls.
Signed-off-by: Jarkko Sakkinen <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Tested-by: Stefan Berger <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Reviewed-by: James Bottomley <[email protected]>
Tested-by: Alexander Steffen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions