Commit d33b43a
mmc: mmci: stm32: fix max busy timeout calculation
The way that the timeout is currently calculated could lead
to a u64 timeout value. this value is then cast in a u32 register
that leads to mmc erase failed issue with some SD cards.
Change-Id: Ibe2682ba42e878c30b61471672800f5fc04ce87c
Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/311057
Tested-by: Eric FOURMONT <eric.fourmont-ext@st.com>
Reviewed-by: Eric FOURMONT <eric.fourmont-ext@st.com>
Domain-Review: Eric FOURMONT <eric.fourmont-ext@st.com>1 parent e689673 commit d33b43a
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1746 | 1746 | | |
1747 | 1747 | | |
1748 | 1748 | | |
1749 | | - | |
| 1749 | + | |
| 1750 | + | |
1750 | 1751 | | |
1751 | 1752 | | |
1752 | 1753 | | |
| |||
0 commit comments