diff options
author | Christophe Kerello <christophe.kerello@foss.st.com> | 2023-06-13 16:41:46 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-06-13 17:19:50 +0300 |
commit | 47b3ad6b7842f49d374a01b054a4b1461a621bdc (patch) | |
tree | 9a0f4b713027b531340a2703d50bbbcdfa8ed097 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e6f9e590b72e12bbb86b1b8be7e1981f357392ad (diff) | |
download | linux-47b3ad6b7842f49d374a01b054a4b1461a621bdc.tar.xz |
mmc: mmci: stm32: fix max busy timeout calculation
The way that the timeout is currently calculated could lead to a u64
timeout value in mmci_start_command(). This value is then cast in a u32
register that leads to mmc erase failed issue with some SD cards.
Fixes: 8266c585f489 ("mmc: mmci: add hardware busy timeout feature")
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230613134146.418016-1-yann.gautier@foss.st.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions