Second version of runtime pm patches for dw_spi. The first patch is unchanged. For the second patch, I changed the placement of the put/get calls. Calls to dw_spi_transfer while the controller is suspended will no longer fail. The driver will place the message on a queue, and when the queue has been restarted (via a call to runtime_resume), the message will get sent.
Additionally, for runtime suspend we will not turn the serial clock off, because that seems to prevent child devices from receiving interrupts. Kristen Carlson Accardi (2): spi: backport some spi runtime_pm dw_spi: add runtime pm support drivers/spi/dw_spi.c | 22 ++++++++--------- drivers/spi/dw_spi_pci.c | 54 +++++++++++++++++++++++++++++++++++++++++++- drivers/spi/spi.c | 8 ++++++ include/linux/spi/dw_spi.h | 2 +- 4 files changed, 72 insertions(+), 14 deletions(-) -- 1.7.3.1 _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
