diff options
author | Jarkko Nikula <[email protected]> | 2019-10-18 16:21:29 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-10-22 17:56:21 +0100 |
commit | b9fc2d207e547664271030c1f99fc08c92fcf3f8 (patch) | |
tree | 6b654d25e5316a00053fdca6d732275679e8a814 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | fed8d8c7a6dc2a76d7764842853d81c770b0788e (diff) |
spi: dw: Move runtime PM enable/disable from common to platform driver part
After commit 1e6959832510 ("spi: dw: Add basic runtime PM support")
there is following warning from PCI enumerated DesignWare SPI controller
during probe:
dw_spi_pci 0000:00:13.0: Unbalanced pm_runtime_enable!
Runtime PM is already enabled for PCI devices by the PCI core and doing
it again in common DW SPI code leads to unbalanced enable calls.
Fix this by moving the runtime PM enable/disable calls to the platform
driver part of the driver.
Cc: Phil Edworthy <[email protected]>
Signed-off-by: Jarkko Nikula <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions