[OEM-B][PATCH ] UBUNTU: SAUCE: (no-up): ASoC: Intel: bytcr-rt5660: fix frame polarity
Shrirang Bagul
shrirang.bagul at canonical.com
Mon Apr 9 11:46:50 UTC 2018
The current frame sync polarity definition in RT5660 machine driver is
inconsistent with the Atom/DPCM driver, fix to align with regular ASoC
definitions.
This patch fixes the noise heard during playback on line-out.
Signed-off-by: Shrirang Bagul <shrirang.bagul at canonical.com>
---
sound/soc/intel/boards/bytcr_rt5660.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/intel/boards/bytcr_rt5660.c b/sound/soc/intel/boards/bytcr_rt5660.c
index aee6bcf66f34..f0e3e4125f07 100644
--- a/sound/soc/intel/boards/bytcr_rt5660.c
+++ b/sound/soc/intel/boards/bytcr_rt5660.c
@@ -270,7 +270,7 @@ static int byt_rt5660_codec_fixup(struct snd_soc_pcm_runtime *rtd,
*/
ret = snd_soc_dai_set_fmt(rtd->cpu_dai,
SND_SOC_DAIFMT_I2S |
- SND_SOC_DAIFMT_NB_IF |
+ SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_CBS_CFS
);
if (ret < 0) {
--
2.14.1
More information about the kernel-team
mailing list