On Tue, Jun 26, 2012 at 14:24:03, Mark Brown wrote:
> On Tue, Jun 26, 2012 at 11:33:43AM +0530, Hebbar, Gururaja wrote:
> > In sound/soc/codecs/tlv320aic3x.c
> >
> > data = snd_soc_read(codec, AIC3X_PLL_PROGA_REG);
> > snd_soc_write(codec, AIC3X_PLL_PROGA_REG,
> >
On Tue, Jun 26, 2012 at 14:31:42, Prchal Jiří wrote:
> Hi Gururaja,
> shouldn't be better to use:
>
> snd_soc_update_bits(codec, AIC3X_PLL_PROGA_REG, PLLP_MASK, pll_p);
>
> instead of "read mask write" ?
Sure will resend the patch. Thanks for the review
> Even at this place you don't need to ke
In sound/soc/codecs/tlv320aic3x.c
data = snd_soc_read(codec, AIC3X_PLL_PROGA_REG);
snd_soc_write(codec, AIC3X_PLL_PROGA_REG,
data | (pll_p << PLLP_SHIFT));
In the above code, pll-p value is OR'ed with previous value without
clearing it. Bug is not seen if pll