]> asedeno.scripts.mit.edu Git - linux.git/commit
tpm_tis_core: convert max timeouts from msec to jiffies
authorapronin@chromium.org <apronin@chromium.org>
Fri, 15 Jul 2016 00:29:40 +0000 (17:29 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 19 Jul 2016 14:43:38 +0000 (17:43 +0300)
commit79b591c091b31291fecd9551db0a67fdc5901d50
tree5de2deb420cebd98f522f19d945ff1953ac02d07
parentd4d03f74a73f3b8b2801d4d02011b6b69778cbcc
tpm_tis_core: convert max timeouts from msec to jiffies

tpm_tis_core was missing conversion from msec when assigning max
timeouts from constants.

Fixes: aec04cbdf723 ("tpm: TPM 2.0 FIFO Interface")
Signed-off-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_tis_core.c