Skip to content
Commit 5887d7f4 authored by Rob Barnes's avatar Rob Barnes Committed by Jarkko Sakkinen
Browse files

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: default avatarRob Barnes <robbarnes@google.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 7d30198e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment