]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc_spi: add a status check for spi_sync_locked
authorKangjie Lu <kjlu@umn.edu>
Mon, 11 Mar 2019 05:53:33 +0000 (00:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:43:33 +0000 (06:43 -0700)
commitdec5d5480a20cba674cd824970357e7ce0b2e939
treea8455a8f92dd61fb225bd193de7ce89e4981f2ba
parent022d0ac1a2b8f0611e9a179f3dffa32d9057e3db
mmc_spi: add a status check for spi_sync_locked

[ Upstream commit 611025983b7976df0183390a63a2166411d177f1 ]

In case spi_sync_locked fails, the fix reports the error and
returns the error code upstream.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/mmc_spi.c