Re: [PATCHv2 20/28] OMAP: DSS2: Use PM runtime & HWMOD support
From: Kevin Hilman <hidden>
Date: 2011-06-21 14:49:59
Also in:
linux-omap
From: Kevin Hilman <hidden>
Date: 2011-06-21 14:49:59
Also in:
linux-omap
Tomi Valkeinen [off-list ref] writes:
Use PM runtime and HWMOD support to handle enabling and disabling of DSS modules. Each DSS module will have get and put functions which can be used to enable and disable that module. The functions use pm_runtime and hwmod opt-clocks to enable the hardware. Signed-off-by: Tomi Valkeinen <redacted>
Runtime PM usage is much better on this version, thanks! Like Paul, I'm not crazy about the helper functions, especially the ones that don't do much other than call runtime PM with some debug code around them since runtime PM already has useful debug. However, you're the maintainer and the one who has to debug this code more than I do, so that decision is up to you. Acked-by: Kevin Hilman <redacted> Kevin