mmc: dw_mmc: Consider HLE errors to be data and command errors
authorDoug Anderson <dianders@chromium.org>
Tue, 10 Mar 2015 15:48:10 +0000 (08:48 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:27 +0000 (10:34 +0200)
commit7a3c56773e7b15d86ae1179df87b219c864b5f68
tree64e46fa1f6bcda2ada75d0547d0c15eed2e2dda7
parentaf6376292285fb03bbf838747a6acf3c2266db25
mmc: dw_mmc: Consider HLE errors to be data and command errors

The dw_mmc driver enables HLE errors as part of DW_MCI_ERROR_FLAGS but
nothing in the interrupt handler actually handles them and ACKs them.
That means that if we ever get an HLE error we'll just keep getting
interrupts and we'll wedge things.

We really don't expect HLE errors but if we ever get them we shouldn't
silently ignore them.

Note that I have seen HLE errors while constantly ejecting and
inserting cards (ejecting while inserting, etc).

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>
drivers/mmc/host/dw_mmc.c