]> git.baikalelectronics.ru Git - kernel.git/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)
commitbfb79c6ede50f3c15401af841d4357c7eab4880e
tree34466de4928292a864235b022015c51b7ed5bd75
parent37292c01f7e0a67d852600110ad6986f05524472
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
c0aff16955872f64645df9439af716b35d80a385 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