commit | 81e41be92ad43b268910dcae78c5a72f79f3d467 | [log] [tgz] |
---|---|---|
author | Tobias Schramm <t.schramm@manjaro.org> | Fri Aug 14 20:50:11 2020 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Sep 07 09:11:29 2020 +0200 |
tree | 1a5a8ded0ee8777fe4e829924b3d027c9208a6fb | |
parent | b698f6abb7b3de2fd04ebbb86527ab1ea95405e0 [diff] |
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: Tobias Schramm <t.schramm@manjaro.org> Link: https://lore.kernel.org/r/20200814185011.3252020-1-t.schramm@manjaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>