Re: [PATCH 2/3] Input: spear-keyboard: Add clk_{un}prepare() support
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2012-11-20 08:54:18
Also in:
lkml
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2012-11-20 08:54:18
Also in:
lkml
On 20 November 2012 14:17, Dmitry Torokhov [off-list ref] wrote:
No, not really, it just does not work well with devm_* patches that got applied: on removal you unprepare clock as the very first operation and then devm_* does the rest which is wrong order.
Nice. I don't expect the order would do anything wrong, as we aren't touching any registers between unpreparing clock and devm_ undo stuff.
I am looking at adding dem_* for clocks.
You mean, adding devm_clk_prepare, devm_clk_enable, devm_clk_prepare_enable ?