Skip to content

Commit

Permalink
ASoC: Don't unconditionally use the PLL in UDA1380
Browse files Browse the repository at this point in the history
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 <anarsoul@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Vasily Khoruzhick authored and Mark Brown committed Feb 3, 2009
1 parent 3957072 commit 111f6fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/uda1380.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 111f6fb

Please sign in to comment.