Skip to content
Commit 719c01f2 authored by Christian Loehle's avatar Christian Loehle Committed by Greg Kroah-Hartman
Browse files

mmc: block: ioctl: do write error check for spi



[ Upstream commit 568898cb ]

SPI doesn't have the usual PROG path we can check for error bits
after moving back to TRAN. Instead it holds the line LOW until
completion. We can then check if the card shows any errors or
is in IDLE state, indicating the line is no longer LOW because
the card was reset.

Signed-off-by: default avatarChristian Loehle <cloehle@hyperstone.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/55920f880c9742f486f64aa44e25508e@hyperstone.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Stable-dep-of: f19c5a73 ("mmc: core: Fix error propagation for some ioctl commands")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 651e66d2
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