mmc: core: for data errors, take response of stop cmd into account
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 8 Apr 2017 20:20:06 +0000 (22:20 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:48 +0000 (10:30 +0200)
commit9820a5b1110126142c50a779622abab560d3fcc1
treedb55a7b785b7dd92d0d3b9dec02f0ec397823d70
parenta04e6bae9e6f12c3a2aa4c84d50d1dcb79ce9814
mmc: core: for data errors, take response of stop cmd into account

Some errors are flagged only with the next command after a multiblock
transfer, e.g. ECC error. So, when checking for data transfer errors,
we check the result from the stop command as well.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c