From: Tomasz Figa Date: Thu, 12 Dec 2013 16:07:14 +0000 (+0100) Subject: clk: max77686: Correct callback used for checking clock status X-Git-Tag: v3.14-rc1~109^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21c8ed2dc05bc5477d55000c5e96a4f3e95f408e;p=pandora-kernel.git clk: max77686: Correct callback used for checking clock status Changing status of clock gates in max77686 requires i2c transfers, which can sleep, so this is done in prepare and unprepare callbacks. Due to this, checking whether whether the clock is ungated must be done in is_prepared() callback as well, for consistency. Signed-off-by: Tomasz Figa Acked-by: Kyungmin Park Signed-off-by: Mike Turquette --- Reading git-diff-tree failed