clk: max77686: Correct callback used for checking clock status
authorTomasz Figa <t.figa@samsung.com>
Thu, 12 Dec 2013 16:07:14 +0000 (17:07 +0100)
committerMike Turquette <mturquette@linaro.org>
Wed, 8 Jan 2014 17:46:02 +0000 (09:46 -0800)
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>
drivers/clk/clk-max77686.c

Simple merge