Re: [PATCH] ASoC: wm8400: Fix setting Fout clock divider for FLLControl 4
From: Girdwood, Liam
Date: Mon Oct 24 2011 - 08:04:13 EST
On 22 October 2011 15:48, Axel Lin <axel.lin@xxxxxxxxx> wrote:
> What we want here is to clear the WM8400_FLL_OUTDIV_MASK bits then
> OR with factors.outdiv.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
> Âsound/soc/codecs/wm8400.c | Â Â2 +-
> Â1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/codecs/wm8400.c b/sound/soc/codecs/wm8400.c
> index dc13be2..f29bc26 100644
> --- a/sound/soc/codecs/wm8400.c
> +++ b/sound/soc/codecs/wm8400.c
> @@ -1059,7 +1059,7 @@ static int wm8400_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id,
> Â Â Â Âwm8400_write(codec, WM8400_FLL_CONTROL_3, factors.n);
>
> Â Â Â Âreg = wm8400_read(codec, WM8400_FLL_CONTROL_4);
> - Â Â Â reg &= WM8400_FLL_OUTDIV_MASK;
> + Â Â Â reg &= ~WM8400_FLL_OUTDIV_MASK;
> Â Â Â Âreg |= factors.outdiv;
> Â Â Â Âwm8400_write(codec, WM8400_FLL_CONTROL_4, reg);
>
> --
> 1.7.5.4
>
>
>
>
Acked-by: Liam Girdwood <lrg@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/