sdhci : handle busy timeout irq
authorMatthieu CASTET <matthieu.castet@parrot.com>
Thu, 14 Aug 2014 14:03:17 +0000 (16:03 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:02 +0000 (13:59 +0200)
commitc5abd5e8998e20c2e82999670a03f26f1437d744
tree6db288f9ea42eb23996e791956088efaa723d55c
parent6f67cc6fd1cf339a0f19b9d4a998ec3c0123b1b6
sdhci : handle busy timeout irq

When we wait for busy after sending a command, if there is
a timeout, we got SDHCI_INT_DATA_TIMEOUT flags.
Before this commit we got the message :
"Got data interrupt 0x00100000 even though no data  operation was in progress."
and we need to wait 10s that sdhci_timeout_timer expires.

Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c