diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2017-08-18 09:16:08 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-21 13:32:31 +0200 |
commit | d83c2dbaa90a9bd6346e234d9802080a9c7b2fea (patch) | |
tree | bbc529eb3f0333c101858500bea1a656cb3a35a9 /drivers/md/faulty.c | |
parent | 14ccee78fc82f5512908f4424f541549a5705b89 (diff) | |
download | linux-d83c2dbaa90a9bd6346e234d9802080a9c7b2fea.tar.bz2 |
mmc: block: prevent propagating R1_OUT_OF_RANGE for open-ending mode
We to some extent should tolerate R1_OUT_OF_RANGE for open-ending
mode as it is expected behaviour and most of the backup partition
tables should be located near some of the last blocks which will
always make open-ending read exceed the capacity of cards.
Fixes: 9820a5b11101 ("mmc: core: for data errors, take response of stop cmd into account")
Fixes: a04e6bae9e6f ("mmc: core: check also R1 response for stop commands")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/md/faulty.c')
0 files changed, 0 insertions, 0 deletions