diff options
author | Jerry Snitselaar <[email protected]> | 2019-12-11 16:54:55 -0700 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2019-12-17 02:57:33 +0200 |
commit | 21df4a8b6018b842d4db181a8b24166006bad3cd (patch) | |
tree | 7f6195ba6f6603ddcfc8cca3b42a95a12f9e1300 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | bea37414453eb08d4ceffeb60a9d490dbc930cea (diff) |
tpm_tis: reserve chip for duration of tpm_tis_core_init
Instead of repeatedly calling tpm_chip_start/tpm_chip_stop when
issuing commands to the tpm during initialization, just reserve the
chip after wait_startup, and release it when we are ready to call
tpm_chip_register.
Cc: Christian Bundy <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Peter Huewe <[email protected]>
Cc: Jarkko Sakkinen <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Stefan Berger <[email protected]>
Cc: [email protected]
Cc: [email protected]
Fixes: a3fbfae82b4c ("tpm: take TPM chip power gating out of tpm_transmit()")
Fixes: 5b359c7c4372 ("tpm_tis_core: Turn on the TPM before probing IRQ's")
Suggested-by: Jarkko Sakkinen <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jerry Snitselaar <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions