mmc: dw_mmc: Consider HLE errors to be data and command errors
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 27 May 2016 07:35:40 +0000 (15:35 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 30 May 2016 09:32:53 +0000 (17:32 +0800)
commitaa3a72a8f8be78184d46eec4abe6c22e02140590
tree925590cd42c16daa0053e1425c35af9a1dcdef67
parent92e34f1027741f6c319bef8ba968d1c3350d3db9
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).

Change-Id: I95fcc4e2d657572b365980794bb941ea39403699
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/mmc/host/dw_mmc.c