diff options
author | Dmitry Osipenko <[email protected]> | 2021-10-24 01:59:50 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-10-26 20:03:58 +0100 |
commit | 3cc1cb30735286dffba8a0675de4baaf2891aee1 (patch) | |
tree | 3b5ec4f226b6b5e89a3ee0618e1064956f5ae608 /lib/mpi | |
parent | ca9b8f56ec089d3a436050afefd17b7237301f47 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions