Andy Shevchenko e17465f78e
spi: pxa2xx: Move PM runtime handling to the glue drivers
PCI and platform buses have different defaults for runtime PM.
In particular PCI probe is assumed to be called when PM runtime
is enabled by the PCI core. In this case if we try enable it again
the PM runtime complaints with

    pxa2xx_spi_pci 0000:00:07.0: Unbalanced pm_runtime_enable!

Fix this by moving PM runtime handling from the SPI PXA2xx core
to the glue drivers.

Fixes: cc160697a576 ("spi: pxa2xx: Convert PCI driver to use spi-pxa2xx code directly")
Fixes: 3d8f037fbcab ("spi: pxa2xx: Move platform driver to a separate file")
Fixes: 20ade9b9771c ("spi: pxa2xx: Extract pxa2xx_spi_platform_*() callbacks")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240822113408.750831-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-08-22 13:34:06 +01:00
..
2024-07-08 17:01:10 +01:00
2024-07-08 17:01:10 +01:00
2024-07-15 18:03:43 -07:00
2024-07-08 17:01:10 +01:00
2024-06-25 20:04:31 +01:00
2024-02-13 15:48:22 +00:00
2024-07-15 18:03:43 -07:00
2024-03-18 17:30:46 +00:00
2024-06-11 11:38:25 +01:00
2023-08-21 14:29:37 +01:00
2024-07-05 18:47:46 +01:00
2024-07-25 10:42:22 -07:00