[alsa-devel] [PATCH] ASoC: SAMSUNG: Fix the inverted clocks handling for pcm driver

Liam Girdwood lrg at slimlogic.co.uk
Mon Apr 11 21:53:50 CEST 2011


On Sat, 2011-04-09 at 10:15 +0530, Jassi Brar wrote:
> On Sat, Apr 9, 2011 at 7:23 AM, Sangbeom Kim <sbkim73 at samsung.com> wrote:
> > Fix the inverted clocks handling for pcm cpu driver.
> > By using SND_SOC_DAIFMT_NB_NF, Audio noise can be generated on SMDK.
> >
> > Signed-off-by: Sangbeom Kim <sbkim73 at samsung.com>
> > ---
> >  sound/soc/samsung/pcm.c |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c
> > index 38aac7d..9c7e8b4 100644
> > --- a/sound/soc/samsung/pcm.c
> > +++ b/sound/soc/samsung/pcm.c
> > @@ -350,8 +350,8 @@ static int s3c_pcm_set_fmt(struct snd_soc_dai *cpu_dai,
> >        ctl = readl(regs + S3C_PCM_CTL);
> >
> >        switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
> > -       case SND_SOC_DAIFMT_NB_NF:
> > -               /* Nothing to do, NB_NF by default */
> > +       case SND_SOC_DAIFMT_IB_NF:
> > +               /* Nothing to do, IB_NF by default */
> 
> Assuming you already compared screenshot
> of a scope and what's mentioned in the manual for IB_NF  ...
> 
> Acked-by: Jassi Brar <jassisinghbrar at gmail.com>

Acked-by: Liam Girdwood <lrg at ti.com>



More information about the Alsa-devel mailing list