]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-stm32-qspi: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 12 Apr 2022 07:09:06 +0000 (07:09 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 12 Apr 2022 16:17:19 +0000 (17:17 +0100)
commit31e4229f305f076e2970a115e7f058e9920d0332
tree7f56ed462a4c1826d3e5c47f9fd2e0ca620a5bd8
parent8c01649e53a0de42201395cc6db99bdfdc29d2e9
spi: spi-stm32-qspi: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using pm_runtime_resume_and_get is more appropriate
for simplifing code

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20220412070906.2532091-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32-qspi.c