Skip to content
Commit 81e41be9 authored by Tobias Schramm's avatar Tobias Schramm Committed by Ulf Hansson
Browse files

mmc: mmc_spi: fix timeout calculation



Previously the cycle timeout was converted to a microsecond value but
then incorrectly treated as a nanosecond timeout. This patch changes
the code to convert both the nanosecond timeout and the cycle timeout
to a microsecond value and use that directly.

Signed-off-by: default avatarTobias Schramm <t.schramm@manjaro.org>
Link: https://lore.kernel.org/r/20200814185011.3252020-1-t.schramm@manjaro.org
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent b698f6ab
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