Commit 5ab332a
mmc: sdhci-pci: Support setting CD debounce delay
Some systems (e.g. 2021 MacBook Pro 14/16") have noncompliant connectors
where CD activates before the card is fully inserted. We need debounce
delay support on these to avoid detection failures when the card isn't
inserted very quickly.
Set the default to 200ms for all systems instead of 0. This is the
default on non-PCI platforms, and will probably help other systems too.
The naughty MacBooks will need closer to 750ms in the device tree to
be reliable...
Signed-off-by: Hector Martin <marcan@marcan.st>1 parent 83287bc commit 5ab332a
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2130 | 2130 | | |
2131 | 2131 | | |
2132 | 2132 | | |
| 2133 | + | |
2133 | 2134 | | |
2134 | 2135 | | |
2135 | 2136 | | |
| |||
2196 | 2197 | | |
2197 | 2198 | | |
2198 | 2199 | | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
2199 | 2204 | | |
2200 | 2205 | | |
2201 | 2206 | | |
| |||
2214 | 2219 | | |
2215 | 2220 | | |
2216 | 2221 | | |
2217 | | - | |
| 2222 | + | |
2218 | 2223 | | |
2219 | 2224 | | |
2220 | 2225 | | |
| |||
2226 | 2231 | | |
2227 | 2232 | | |
2228 | 2233 | | |
2229 | | - | |
| 2234 | + | |
| 2235 | + | |
2230 | 2236 | | |
2231 | 2237 | | |
2232 | 2238 | | |
| |||
0 commit comments