aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra210-quad.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-10-24 01:59:50 +0300
committerMark Brown <broonie@kernel.org>2021-10-26 20:03:58 +0100
commit3cc1cb30735286dffba8a0675de4baaf2891aee1 (patch)
tree3b5ec4f226b6b5e89a3ee0618e1064956f5ae608 /drivers/spi/spi-tegra210-quad.c
parentspi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe() (diff)
downloadlinux-dev-3cc1cb30735286dffba8a0675de4baaf2891aee1.tar.xz
linux-dev-3cc1cb30735286dffba8a0675de4baaf2891aee1.zip
spi: tegra20-slink: Put device into suspend on driver removal
pm_runtime_disable() cancels all pending power requests, while they should be completed for the Tegra SPI driver. Otherwise SPI clock won't be disabled ever again because clk refcount will become unbalanced. Enforce runtime PM suspension to put device into expected state before driver is unbound and device's RPM state is reset by driver's core. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20211023225951.14253-1-digetx@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-tegra210-quad.c')
0 files changed, 0 insertions, 0 deletions