Skip to content
Commit 7bfda9c7 authored by Eddie James's avatar Eddie James Committed by Jarkko Sakkinen
Browse files

tpm: Add flag to use default cancellation policy

The check for cancelled request depends on the VID of the chip, but
some chips share VID which shouldn't share their cancellation
behavior. This is the case for the Nuvoton NPCT75X, which should use
the default cancellation check, not the Winbond one.
To avoid changing the existing behavior, add a new flag to indicate
that the chip should use the default cancellation check and set it
for the I2C TPM2 TIS driver.

Fixes: bbc23a07

 ("tpm: Add tpm_tis_i2c backend for tpm_tis_core")
Signed-off-by: default avatarEddie James <eajames@linux.ibm.com>
Tested-by: default avatarJoel Stanley <joel@jms.id.au>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 561d6ef7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment