From: Karol Wrona Date: Tue, 1 Jul 2014 17:13:59 +0000 (+0200) Subject: clk: s2mps11: Fix clk_ops X-Git-Tag: omap-for-v3.17/fixes-against-rc2~188^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ed7e6e68c176e77c7e2677551c91d4185fe0b4;p=pandora-kernel.git 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 Signed-off-by: Mike Turquette --- Reading git-diff-tree failed