diff options
author | Karol Wrona <k.wrona@samsung.com> | 2014-07-01 19:13:59 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-07-02 09:44:47 -0700 |
commit | 89ed7e6e68c176e77c7e2677551c91d4185fe0b4 (patch) | |
tree | 992eb3a4f77b6b03b594b0d45bba136a182efc40 /COPYING | |
parent | 4da66b631f6bee2dfdb77b571418f11016a7ba68 (diff) | |
download | lwn-89ed7e6e68c176e77c7e2677551c91d4185fe0b4.tar.gz lwn-89ed7e6e68c176e77c7e2677551c91d4185fe0b4.zip |
clk: s2mps11: Fix clk_ops
s2mps11 clocks had registered callbacks for prepare ,unprepare and is_enabled.
During disabling unused clocks the lack of is_prepared caused that unused
s2mps11 clocks were not unprepared and stayed active.
Regmap_read is cached so it can be called in is_prepare callback
to achieve this information. Enabled field was removed from struct s2mps11_clk.
Signed-off-by: Karol Wrona <k.wrona@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions