summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm2-cmd.c
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2021-12-06 12:03:09 +0000
committerJarkko Sakkinen <jarkko@kernel.org>2022-01-09 00:18:45 +0200
commit5887d7f4a8c4310a75ca45f576f26b3d21250881 (patch)
treed11efa64319337d24c318a7205873aa62cc0210b /drivers/char/tpm/tpm2-cmd.c
parent7d30198ee24f2ddcc4fefcd38a9b76bd8ab31360 (diff)
downloadlinux-5887d7f4a8c4310a75ca45f576f26b3d21250881.tar.gz
linux-5887d7f4a8c4310a75ca45f576f26b3d21250881.tar.bz2
linux-5887d7f4a8c4310a75ca45f576f26b3d21250881.zip
char: tpm: cr50: Set TPM_FIRMWARE_POWER_MANAGED based on device property
Set TPM_FIRMWARE_POWER_MANAGED flag based on 'firmware-power-managed' ACPI DSD property. For the CR50 TPM, this flag defaults to true when the property is unset. When this flag is set to false, the CR50 TPM driver will always send a shutdown command whenever the system suspends. Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char/tpm/tpm2-cmd.c')
0 files changed, 0 insertions, 0 deletions