From: Kuninori Morimoto Date: Thu, 26 Mar 2015 04:02:09 +0000 (+0000) Subject: ASoC: rsnd: call clk_prepare/unprepare() in probe/remove X-Git-Tag: omap-for-v4.2/o2_dc~120^2~1^2~15^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f78dd7f40264697afed4c2ac0890df8f0588e49;p=pandora-kernel.git ASoC: rsnd: call clk_prepare/unprepare() in probe/remove clk_prepare_enable()/clk_disable_unprepare() uses mutex inside, in concretely clk_prepare()/clk_unprepare().And it uses __schedule(). Then, raw_spin_lock/unlock_irq() is called, and it breaks Renesas sound driver's spin lock irq. This patch separates thesse into clk_prepare()/clk_unprepare() and clk_enable/clk_disable. And call clk_prepare()/clk_unprepare() from probe/remove function. Special thanks to Das Biju. Reported-by: Das Biju Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- Reading git-diff-tree failed