summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-04-08 22:20:05 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-06-20 10:30:47 +0200
commita04e6bae9e6f12c3a2aa4c84d50d1dcb79ce9814 (patch)
tree4f34927a372395d54340208961f496b84d4ae791 /drivers/watchdog
parent0796e439c5cc4ceeb84e08479c5ee1a4ebab5549 (diff)
downloadop-kernel-dev-a04e6bae9e6f12c3a2aa4c84d50d1dcb79ce9814.zip
op-kernel-dev-a04e6bae9e6f12c3a2aa4c84d50d1dcb79ce9814.tar.gz
mmc: core: check also R1 response for stop commands
To detect errors like ECC errors, we must parse the R1 response bits. Introduce a helper function to also set the error value of a command when R1 error bits are set. Add ECC error to list of flags checked. Use the new helper for the stop command to call mmc_blk_recovery when detecting ECC errors which are only flagged on the next command after multiblock. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud