]> git.baikalelectronics.ru Git - 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)
commit96605312d8bf54b4b321242a4a6701d3f25a63cb
treef339c4383ef6cb07de6d613a24b6bc1400395e83
parent673330fd3ee6fe1ef0d2e9cbcb7d5154d354c9c8
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