From: Vasily Khoruzhick Date: Tue, 3 Feb 2009 13:52:56 +0000 (+0200) Subject: ASoC: Don't unconditionally use the PLL in UDA1380 X-Git-Tag: v2.6.30-rc1~8^2~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=111f6fbeb73fc350fe3a08c4ecd0ccdf3e13bef0;p=platform%2Fupstream%2Fkernel-adaptation-pc.git ASoC: Don't unconditionally use the PLL in UDA1380 Without this fix driver switches to WSPLL in uda1380_pcm_prepare even if SYSCLK was chosen (uda1380_pcm_prepare modifies UDA1380_CLK register to disable R00_DAC_CLK before flushing reg cache) Signed-off-by: Vasily Khoruzhick Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/uda1380.c b/sound/soc/codecs/uda1380.c index 98e4a65..6e4a177 100644 --- a/sound/soc/codecs/uda1380.c +++ b/sound/soc/codecs/uda1380.c @@ -418,8 +418,8 @@ static int uda1380_pcm_prepare(struct snd_pcm_substream *substream, uda1380_write(codec, reg, uda1380_read_reg_cache(codec, reg)); } - /* FIXME enable DAC_CLK */ - uda1380_write(codec, UDA1380_CLK, clk | R00_DAC_CLK); + /* FIXME restore DAC_CLK */ + uda1380_write(codec, UDA1380_CLK, clk); return 0; }