summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_tis_spi.c
diff options
context:
space:
mode:
authorWinkler, Tomas2017-03-06 00:53:35 +0100
committerJarkko Sakkinen2017-04-03 21:46:00 +0200
commit095fc30c2c8d2c63ec88745f57711f05af617581 (patch)
tree241ca4cb8800e4374e3e3941665fd21bc08f04ff /drivers/char/tpm/tpm_tis_spi.c
parenttpm: select CONFIG_CRYPTO (diff)
downloadkernel-qcow2-linux-095fc30c2c8d2c63ec88745f57711f05af617581.tar.gz
kernel-qcow2-linux-095fc30c2c8d2c63ec88745f57711f05af617581.tar.xz
kernel-qcow2-linux-095fc30c2c8d2c63ec88745f57711f05af617581.zip
tpm/tpm_crb: enter the low power state upon device suspend
This fix enables a platform to enter the idle state (suspend-to-idle) The driver needs to request explicitly go_idle upon completion from the pm suspend handler. The runtime pm is disabled on suspend during prepare state by calling pm_runtime_get_noresume, hence we cannot relay on runtime pm to leave the device in low power state. Symmetrically cmdReady is called upon resume. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Siged-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm/tpm_tis_spi.c')
0 files changed, 0 insertions, 0 deletions