I came up with these patches while implementing pm runtime adaptation for DSS driver. I'm not quite sure on who's turf they belong, or do they even belong together, but here they are anyway. get_context_loss_count patch was discussed on l-o with Kevin. The omap_device_reset patch I made as some parts of DSS currently presume that the HW module is reset when it is enabled, and the reset is better handled in hwmod code. can_ever_lose_context code I didn't strictly need, but as there's such a function I added that to the context save code in DSS while rewriting the code. Tomi Tomi Valkeinen (3): OMAP: change get_context_loss_count ret value to int OMAP: add omap_device_reset() OMAP: Add (omap_device|omap_hwmod)_can_ever_lose_context functions arch/arm/mach-omap2/omap_hwmod.c | 24 ++++++++++++- arch/arm/mach-omap2/powerdomain.c | 14 +++++-- arch/arm/mach-omap2/powerdomain.h | 2 +- arch/arm/plat-omap/include/plat/omap-pm.h | 4 +- arch/arm/plat-omap/include/plat/omap_device.h | 4 ++- arch/arm/plat-omap/include/plat/omap_hwmod.h | 3 +- arch/arm/plat-omap/omap-pm-noop.c | 24 +++++++++---- arch/arm/plat-omap/omap_device.c | 48 ++++++++++++++++++++++++- 8 files changed, 105 insertions(+), 18 deletions(-) -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html