Skip to content
Commit 41591b38 authored by Chris Boot's avatar Chris Boot Committed by Ulf Hansson
Browse files

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: default avatarChris Boot <bootc@bootc.net>
Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
Cc: stable@vger.kernel.org # v4.10+
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 0238df64
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment