Home
last modified time | relevance | path

Searched hist:"0363 b12d3311eaf1355d4b9272a51dd852ea2fc1" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mmc/host/
H A Ddw_mmc.cdiff 0363b12d3311eaf1355d4b9272a51dd852ea2fc1 Thu Oct 12 22:11:14 CEST 2017 Douglas Anderson <dianders@chromium.org> mmc: dw_mmc: cancel the CTO timer after a voltage switch

When running with the commit 03de19212ea3 ("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: 03de19212ea3 ("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>