diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2009-02-03 08:52:56 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-03 12:12:16 -0500 |
commit | 111f6fbeb73fc350fe3a08c4ecd0ccdf3e13bef0 (patch) | |
tree | 058a50ef01c8974238c5c3a7931b50eac6fe5718 /sound/soc/codecs | |
parent | 395707212a53999427bd160abd6541bffe062033 (diff) |
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 <anarsoul@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/uda1380.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/uda1380.c b/sound/soc/codecs/uda1380.c index 98e4a6560f06..6e4a1770ce8d 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, | |||
418 | uda1380_write(codec, reg, uda1380_read_reg_cache(codec, reg)); | 418 | uda1380_write(codec, reg, uda1380_read_reg_cache(codec, reg)); |
419 | } | 419 | } |
420 | 420 | ||
421 | /* FIXME enable DAC_CLK */ | 421 | /* FIXME restore DAC_CLK */ |
422 | uda1380_write(codec, UDA1380_CLK, clk | R00_DAC_CLK); | 422 | uda1380_write(codec, UDA1380_CLK, clk); |
423 | 423 | ||
424 | return 0; | 424 | return 0; |
425 | } | 425 | } |