mmc: fsl_esdhc: add controller reset in case of data related errors too
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Mon, 24 Mar 2014 07:41:06 +0000 (02:41 -0500)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Wed, 2 Apr 2014 10:17:12 +0000 (13:17 +0300)
commit8a573022c38da9ecc749acbc60556a8e8bd41996
tree67aac0c4178d464069a07dac997d908a34f565e0
parentfb823981c550f873270666ce0f6117dbb956c214
mmc: fsl_esdhc: add controller reset in case of data related errors too

The controller reset is performed now if command error occurs.
This commit adds the reset for the case of data related errors too.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
drivers/mmc/fsl_esdhc.c