diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-10-24 01:59:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-26 20:03:59 +0100 |
commit | 134a72373f7ce56a36726ebb525ff9f6c009dbe3 (patch) | |
tree | 02bfe93ebef33c3e5fd2430eb4fe1acb88423438 /arch/mips/mm | |
parent | 3cc1cb30735286dffba8a0675de4baaf2891aee1 (diff) | |
download | linux-134a72373f7ce56a36726ebb525ff9f6c009dbe3.tar.gz linux-134a72373f7ce56a36726ebb525ff9f6c009dbe3.tar.bz2 linux-134a72373f7ce56a36726ebb525ff9f6c009dbe3.zip |
spi: tegra210-quad: 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-2-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/mips/mm')
0 files changed, 0 insertions, 0 deletions