summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2017-12-25 05:22:51 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2018-01-08 13:58:39 +0300
commit6c9f0ce0dffe64da2204f38b0fd90f3ae2a8903c (patch)
treed0689391178ad15e035b033c8fc2ef0278e07749 /.gitattributes
parent5fc0bead786d76f5edc732f60451e3fca310f7a0 (diff)
downloadlinux-6c9f0ce0dffe64da2204f38b0fd90f3ae2a8903c.tar.xz
tpm: only attempt to disable the LPC CLKRUN if is already enabled
Commit 5e572cab92f0 ("tpm: Enable CLKRUN protocol for Braswell systems") added logic in the TPM TIS driver to disable the Low Pin Count CLKRUN signal during TPM transactions. Unfortunately this breaks other devices that are attached to the LPC bus like for example PS/2 mouse and keyboards. One flaw with the logic is that it assumes that the CLKRUN is always enabled, and so it unconditionally enables it after a TPM transaction. But it could be that the CLKRUN# signal was already disabled in the LPC bus and so after the driver probes, CLKRUN_EN will remain enabled which may break other devices that are attached to the LPC bus but don't have support for the CLKRUN protocol. Fixes: 5e572cab92f0 ("tpm: Enable CLKRUN protocol for Braswell systems") Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: James Ettle <james@ettle.org.uk> Tested-by: Jeffery Miller <jmiller@neverware.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions