summaryrefslogtreecommitdiffstats
path: root/drivers/char/efirtc.c
diff options
context:
space:
mode:
authorAndrey Pronin <apronin@chromium.org>2016-06-30 10:25:43 -0700
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-07-19 17:43:38 +0300
commit9754d45e997000ad4021bc4606cc266bb38d876f (patch)
tree1d4cd24830105e0ea9c14bc6bb6bc11ee23995c3 /drivers/char/efirtc.c
parent1b0612b04090e416828c0dd5ed197b0913d834a0 (diff)
downloadlinux-9754d45e997000ad4021bc4606cc266bb38d876f.tar.bz2
tpm: read burstcount from TPM_STS in one 32-bit transaction
Some chips incorrectly support partial reads from TPM_STS register at non-zero offsets. Read the entire 32-bits register instead of making two 8-bit reads to support such devices and reduce the number of bus transactions when obtaining the burstcount from TPM_STS. Fixes: 27084efee0c3 ("tpm: driver for next generation TPM chips") Signed-off-by: Andrey Pronin <apronin@chromium.org> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/efirtc.c')
0 files changed, 0 insertions, 0 deletions