Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: alc5623: tidyup clock inversion in alc5623_set_dai_fmt()

It supports inverted bitclock (= _NB_, _IB_), but has no control
for the frame polarity (= _NF, _IF). Let's tidyup it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87y0mrtogw.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
fc22dfb1 284853af

-5
-5
sound/soc/codecs/alc5623.c
··· 678 678 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { 679 679 case SND_SOC_DAIFMT_NB_NF: 680 680 break; 681 - case SND_SOC_DAIFMT_IB_IF: 682 - iface |= ALC5623_DAI_MAIN_I2S_BCLK_POL_CTRL; 683 - break; 684 681 case SND_SOC_DAIFMT_IB_NF: 685 682 iface |= ALC5623_DAI_MAIN_I2S_BCLK_POL_CTRL; 686 - break; 687 - case SND_SOC_DAIFMT_NB_IF: 688 683 break; 689 684 default: 690 685 return -EINVAL;