summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2014-10-01 07:14:08 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2014-11-10 12:40:27 +0100
commitfce9d33f51bf1d84270238885c2712d48a056e41 (patch)
treefe12477f963a91835b6e98d4cd27d8677b8f1f35 /drivers/edac
parentfbfaf0326b725cfbcc4169294cffefcad5ce64aa (diff)
downloadop-kernel-dev-fce9d33f51bf1d84270238885c2712d48a056e41.zip
op-kernel-dev-fce9d33f51bf1d84270238885c2712d48a056e41.tar.gz
mmc: sdhci: fix error conditions for controller reset
Add the case of SET_BLOCK_COUNT command error to the error conditions check for making a controller reset at request handling finish. Otherwise, if the SET_BLOCK_COUNT command failed, e.g. with a timeout, the controller state was not reset, and the next command failed too. In the case of data error the controller reset is already done in finish_data() function before sending stop command (if present), so the finish tasklet should make a reset after data error only if no stop command existed in the request. Also, fix the indentation of this condition check to make it more logical. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud