Skip to content
Commit 9eee3e21 authored by Yuji Sasaki's avatar Yuji Sasaki Committed by Greg Kroah-Hartman
Browse files

spi: qup: call spi_qup_pm_resume_runtime before suspending

[ Upstream commit 136b5cd2

 ]

spi_qup_suspend() will cause synchronous external abort when
runtime suspend is enabled and applied, as it tries to
access SPI controller register while clock is already disabled
in spi_qup_pm_suspend_runtime().

Signed-off-by: default avatarYuji sasaki <sasakiy@chromium.org>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20200214074340.2286170-1-vkoul@kernel.org
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1d4f214c
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