Commit a5804e5
committed
mmc: sdhci: Avoid a NULL pointer crash
Two days into running a reboot test over the weekend, the SDHCI driver
hit a NULL pointer in sdhci_needs_reset. It's not clear how that has
been added by the changes for a faster reboot, but guard against it
explicitly.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>1 parent 0c7e4a4 commit a5804e5
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1490 | 1490 | | |
1491 | 1491 | | |
1492 | 1492 | | |
| 1493 | + | |
| 1494 | + | |
1493 | 1495 | | |
1494 | 1496 | | |
1495 | 1497 | | |
| |||
0 commit comments