]> git.ipfire.org Git - people/arne_f/kernel.git/commit
spi: qup: call spi_qup_pm_resume_runtime before suspending
authorYuji Sasaki <sasakiy@chromium.org>
Fri, 14 Feb 2020 07:43:40 +0000 (13:13 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 21 Feb 2020 13:48:08 +0000 (13:48 +0000)
commit136b5cd2e2f97581ae560cff0db2a3b5369112da
treef339c4383ef6cb07de6d613a24b6bc1400395e83
parent32f2fc5dc3992b4b60cc6b1a6a31be605cc9c3a2
spi: qup: call spi_qup_pm_resume_runtime before suspending

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: Yuji sasaki <sasakiy@chromium.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20200214074340.2286170-1-vkoul@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-qup.c