commit | 41591b38f5f8f78344954b68582b5f00e56ffe61 | [log] [tgz] |
---|---|---|
author | Chris Boot <bootc@bootc.net> | Mon Oct 08 17:07:30 2018 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Tue Oct 09 09:23:00 2018 +0200 |
tree | 78a25d39a5515767dea363d066aafc0ee459f1f8 | |
parent | 0238df646e6224016a45505d2c111a24669ebe21 [diff] |
mmc: block: avoid multiblock reads for the last sector in SPI mode On some SD cards over SPI, reading with the multiblock read command the last sector will leave the card in a bad state. Remove last sectors from the multiblock reading cmd. Signed-off-by: Chris Boot <bootc@bootc.net> Signed-off-by: Clément Péron <peron.clem@gmail.com> Cc: stable@vger.kernel.org # v4.10+ Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>