Skip to content
Commit d772116a authored by Eddie James's avatar Eddie James Committed by Bruce Ashfield
Browse files

tpm: tis_i2c: Fix sanity check interrupt enable mask

commit 561d6ef7 upstream

The sanity check mask for TPM_INT_ENABLE register was off by 8 bits,
resulting in failure to probe if the TPM_INT_ENABLE register was a
valid value.

Fixes: bbc23a07

 ("tpm: Add tpm_tis_i2c backend for tpm_tis_core")
Signed-off-by: default avatarEddie James <eajames@linux.ibm.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Tested-by: default avatarJoel Stanley <joel@jms.id.au>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarLi Wang <li.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 9d24e4c0
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