]> Pileus Git - ~andy/linux/commit
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)
commit9a9b1c618d835e7a6a4097eb47ee47991202a3c1
tree34466de4928292a864235b022015c51b7ed5bd75
parentad81f0545ef01ea651886dddac4bef6cec930092
ASoC: atmel-ssc: remove clk_disable_unprepare call from critical section

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>
drivers/misc/atmel-ssc.c