diff options
author | Mark Hasemeyer <markhas@chromium.org> | 2023-03-14 22:54:04 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-04-24 16:15:52 +0300 |
commit | 96785d635bc2b9e6f819cc606424d342a37872b4 (patch) | |
tree | b124511b6dc17bd8b6c4c27ad5e92dac3255d998 /drivers/char/tpm/eventlog/common.c | |
parent | 457391b0380335d5e9a5babdec90ac53928b23b4 (diff) | |
download | linux-96785d635bc2b9e6f819cc606424d342a37872b4.tar.xz |
tpm: cr50: i2c: use jiffies to wait for tpm ready irq
When waiting for a tpm ready completion, the cr50 i2c driver incorrectly
assumes that the value of timeout_a is represented in milliseconds
instead of jiffies.
Remove the msecs_to_jiffies conversion.
Signed-off-by: Mark Hasemeyer <markhas@chromium.org>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char/tpm/eventlog/common.c')
0 files changed, 0 insertions, 0 deletions