Commit fb3bbc4
mmc: sdhci: Disable SD card clock before changing parameters
Per the SD Host Controller Simplified Specification v4.20 §3.2.3, change
the SD card clock parameters only after first disabling the external card
clock. Doing this fixes a spurious clock pulse on Baytrail and Apollo Lake
SD controllers which otherwise breaks voltage switching with a specific
Swissbit SD card.
Signed-off-by: Kyle Roeschley <[email protected]>
Signed-off-by: Brad Mouring <[email protected]>
Signed-off-by: Erick Shepherd <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>1 parent 4e35c61 commit fb3bbc4
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2065 | 2065 | | |
2066 | 2066 | | |
2067 | 2067 | | |
2068 | | - | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
2069 | 2072 | | |
2070 | | - | |
| 2073 | + | |
| 2074 | + | |
2071 | 2075 | | |
| 2076 | + | |
2072 | 2077 | | |
2073 | 2078 | | |
2074 | 2079 | | |
| |||
0 commit comments