ASoC: atmel-ssc: remove clk_disable_unprepare call from critical section
authorBoris BREZILLON <b.brezillon@overkiz.com>
Thu, 18 Jul 2013 07:48:40 +0000 (09:48 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 18 Jul 2013 11:24:33 +0000 (12:24 +0100)
clk_prepare/unprepare (and indirectly clk_prepare_enable/disable_unprepare)
may sleep and thus cannot be called in critical section.

This patch fix a bug introduced by commit
6f0d94790efe9f4481bbd7c174ef0e9b5e5db7c4 where clk_disable_unprepare was
called with user_lock hold.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found