On Wed, Jan 22, 2014 at 7:42 PM, Mark Brown broonie@kernel.org wrote:
From: Mark Brown broonie@linaro.org
When the driver was converted to clk_prepare() the suspend path didn't have any changes made so the clock remains prepared throughout the runtime of the driver. Unprepare it when suspended so that any savings that can be made as a result are made.
Signed-off-by: Mark Brown broonie@linaro.org
Acked-by: Linus Walleij linus.walleij@linaro.org
Maybe you should update the probe() and remove() runpaths to use the combined prepare_enable() & unprepare_disable() calls as well when you're at it?
Yours, Linus Walleij