Commit 0363b12
mmc: dw_mmc: cancel the CTO timer after a voltage switch
When running with the commit 03de192 ("mmc: dw_mmc: introduce
timer for broken command transfer over scheme") I found this message
in the log:
Unexpected command timeout, state 7
It turns out that we weren't properly cancelling the new CTO timer in
the case that a voltage switch was done. Let's promote the cancel
into the dw_mci_cmd_interrupt() function to fix this.
Fixes: 03de192 ("mmc: dw_mmc: introduce timer for broken command transfer over scheme")
Tested-by: Emil Renner Berthing <kernel@esmil.dk>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>1 parent 48e1dc1 commit 0363b12
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2570 | 2570 | | |
2571 | 2571 | | |
2572 | 2572 | | |
| 2573 | + | |
| 2574 | + | |
2573 | 2575 | | |
2574 | 2576 | | |
2575 | 2577 | | |
| |||
2662 | 2664 | | |
2663 | 2665 | | |
2664 | 2666 | | |
2665 | | - | |
2666 | 2667 | | |
2667 | 2668 | | |
2668 | 2669 | | |
| |||
0 commit comments