diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2025-12-25 03:05:51 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-27 22:59:01 +0300 |
| commit | fc22dfb13618ce1ae5730840607733a50569a15e (patch) | |
| tree | 186b8debdb2cdf898bb8c50787891fcc7ceccbee | |
| parent | 284853affe73fe1ca9786bd52b934eb9d420a942 (diff) | |
| download | linux-fc22dfb13618ce1ae5730840607733a50569a15e.tar.xz | |
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>
| -rw-r--r-- | sound/soc/codecs/alc5623.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/codecs/alc5623.c b/sound/soc/codecs/alc5623.c index a9946dcdc9f6..ec229b315f9f 100644 --- a/sound/soc/codecs/alc5623.c +++ b/sound/soc/codecs/alc5623.c @@ -678,14 +678,9 @@ static int alc5623_set_dai_fmt(struct snd_soc_dai *codec_dai, switch (fmt & SND_SOC_DAIFMT_INV_MASK) { case SND_SOC_DAIFMT_NB_NF: break; - case SND_SOC_DAIFMT_IB_IF: - iface |= ALC5623_DAI_MAIN_I2S_BCLK_POL_CTRL; - break; case SND_SOC_DAIFMT_IB_NF: iface |= ALC5623_DAI_MAIN_I2S_BCLK_POL_CTRL; break; - case SND_SOC_DAIFMT_NB_IF: - break; default: return -EINVAL; } |
