[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABS+qY2wt_Rq74uO2OpPFkquX-noPUU1tiZ9wcs9fzpJ6EYC=w@mail.gmail.com>
Date: Mon, 24 Oct 2011 13:04:10 +0100
From: "Girdwood, Liam" <lrg@...com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Dimitris Papastamos <dp@...nsource.wolfsonmicro.com>,
alsa-devel@...a-project.org
Subject: Re: [PATCH] ASoC: wm8400: Fix setting Fout clock divider for FLL
Control 4
On 22 October 2011 15:48, Axel Lin <axel.lin@...il.com> 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@...il.com>
> ---
> 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@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists