aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-atmel.c
diff options
context:
space:
mode:
authorAlexander Kochetkov <[email protected]>2020-10-19 15:03:43 +0000
committerMark Brown <[email protected]>2020-10-26 23:29:05 +0000
commitae0f18bef30d0e76dd62be46c59b24c75f175092 (patch)
treed7a93055b9c711852c770da98b2df15390407672 /drivers/spi/spi-atmel.c
parentspi: rockchip: enable autosuspend feature (diff)
downloadkernel-ae0f18bef30d0e76dd62be46c59b24c75f175092.tar.gz
kernel-ae0f18bef30d0e76dd62be46c59b24c75f175092.zip
spi: spi-sun6i: enable autosuspend feature
If SPI is used for periodic polling any sensor, significant delays sometimes appear. Switching on module clocks during resume lead to delays. Enabling autosuspend mode causes the controller to not suspend between SPI transfers and the delays disappear. The commit also remove unnecessary call to pm_runtime_idle() used to explicit put device to suspended state. Without pm_runtime_idle() PM core will put device in the suspended state just after probe() returns. Signed-off-by: Alexander Kochetkov <[email protected]> Acked-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi-atmel.c')
0 files changed, 0 insertions, 0 deletions