From: Sangbeom Kim Date: Sat, 9 Apr 2011 01:53:58 +0000 (+0900) Subject: ASoC: SAMSUNG: Fix the inverted clocks handling for pcm driver X-Git-Tag: MMI-PSA29.97-13-9~19774^2~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=68e0c6696c98c0fe548627ad705b098ae1148c2b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: SAMSUNG: Fix the inverted clocks handling for pcm driver 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 Acked-by: Jassi Brar Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c index 38aac7d57a59..9c7e8b48aed6 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 */ break; default: dev_err(pcm->dev, "Unsupported clock inversion!\n");