Skip to content
Commit 89ed7e6e authored by Karol Wrona's avatar Karol Wrona Committed by Mike Turquette
Browse files

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: default avatarKarol Wrona <k.wrona@samsung.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 4da66b63
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment