diff options
author | 2022-08-29 14:32:50 +0200 | |
---|---|---|
committer | 2022-08-29 16:39:24 +0100 | |
commit | 47c32b2b7fcfa97f7224df222f439fc0ccf94ffe (patch) | |
tree | 4a87d71274667c92ffccf44d39388e2d6acb1f08 /lib/zstd/zstd_common_module.c | |
parent | spi: stm32-qspi: Fix stm32_qspi_transfer_one_message() error path (diff) | |
download | wireguard-linux-47c32b2b7fcfa97f7224df222f439fc0ccf94ffe.tar.xz wireguard-linux-47c32b2b7fcfa97f7224df222f439fc0ccf94ffe.zip |
spi: stm32-qspi: Fix pm_runtime management in stm32_qspi_transfer_one_message()
ctrl->auto_runtime_pm was wrongly set to true when adding
transfer_one_message() callback.
As explained in commit 6e6ccb3d4cdc ("spi: stm32-qspi: Add pm_runtime support")
the expected behavior is to prevent runtime suspends between each transfer.
Add needed pm_runtime API calls in stm32_qspi_transfer_one_message().
Fixes: a557fca630cc ("spi: stm32_qspi: Add transfer_one_message() spi callback")
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20220829123250.2170562-1-patrice.chotard@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/zstd/zstd_common_module.c')
0 files changed, 0 insertions, 0 deletions