diff options
author | Dong Aisheng <dong.aisheng@linaro.org> | 2012-07-20 11:20:24 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-24 21:17:58 +0200 |
commit | c2e1d9073fc98f471067c0257a31b4818306ebe1 (patch) | |
tree | 2f7a0a5020881a9e4bc4413f60849bed279c9d08 /COPYING | |
parent | ASoC: wm8994: Ensure there are enough BCLKs for four channels (diff) | |
download | linux-c2e1d9073fc98f471067c0257a31b4818306ebe1.tar.xz linux-c2e1d9073fc98f471067c0257a31b4818306ebe1.zip |
ASoC: mxs-saif: fix clock prepare and enable unbalance issue
Currently we directly call a clock_enable in trigger function without
a clk_prepare as pair first.
This will cause system hang immediately when run capture because
the clock was not prepared(playback does not hang because the clock was
prepared already by get_mclk before), a warning message in clock framework
may cause a deadlock to reclaim clock lock (see: pl011_console_write).
Here we prepare clock first in hw_param, then enable it in trigger
function to guarantee the balance.
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions