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:Christian Loehle <cloehle@hyperstone.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/55920f880c9742f486f64aa44e25508e@hyperstone.com Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Stable-dep-of: f19c5a73 ("mmc: core: Fix error propagation for some ioctl commands") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment