Doug Anderson 5c935165da mmc: dw_mmc: Add a timeout for sending CMD11
In the Designware databook's description of the "Voltage Switch Normal
Scenario" it instructs us to set a timer and fail the voltage change
if we don't see the voltage change interrupt within 2ms.  Let's
implement that.  Without implementing this I have often been able to
reproduce a hang while trying to send CMD11 on an rk3288-based board
while constantly ejecting and inserting UHS cards.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2015-03-31 16:50:43 +02:00
..
2012-11-28 12:28:18 -08:00
2015-03-23 14:13:49 +01:00
2015-02-04 09:42:29 +01:00
2013-08-24 23:45:22 -04:00
2014-09-24 10:13:09 +02:00
2014-09-24 10:13:09 +02:00
2015-01-19 09:56:07 +01:00
2015-03-23 14:13:49 +01:00