Skip to content
Commit 96785d63 authored by Mark Hasemeyer's avatar Mark Hasemeyer Committed by Jarkko Sakkinen
Browse files

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: default avatarMark Hasemeyer <markhas@chromium.org>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 457391b0
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