commit | 21c8ed2dc05bc5477d55000c5e96a4f3e95f408e | [log] [tgz] |
---|---|---|
author | Tomasz Figa <t.figa@samsung.com> | Thu Dec 12 17:07:14 2013 +0100 |
committer | Mike Turquette <mturquette@linaro.org> | Wed Jan 08 09:46:02 2014 -0800 |
tree | b593d6c31d3c0ad4679251b0de75f93d6e6f68fa | |
parent | 310e39c9b3203142a81cdfe7605fc6d2ed6cc25a [diff] |
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 <t.figa@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>