Commit 111f6fbe authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Mark Brown

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: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 39570721
...@@ -418,8 +418,8 @@ static int uda1380_pcm_prepare(struct snd_pcm_substream *substream, ...@@ -418,8 +418,8 @@ static int uda1380_pcm_prepare(struct snd_pcm_substream *substream,
uda1380_write(codec, reg, uda1380_read_reg_cache(codec, reg)); uda1380_write(codec, reg, uda1380_read_reg_cache(codec, reg));
} }
/* FIXME enable DAC_CLK */ /* FIXME restore DAC_CLK */
uda1380_write(codec, UDA1380_CLK, clk | R00_DAC_CLK); uda1380_write(codec, UDA1380_CLK, clk);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment