[PATCH 1/1] ASoC: codecs: max98090: Allow dsp_a mode
From: Maxim Kochetkov
Date: Wed Jun 21 2023 - 07:54:02 EST
TDM mode for max98090 is dsp_a compatible. So allow it.
Signed-off-by: Maxim Kochetkov <fido_max@xxxxxxxx>
---
sound/soc/codecs/max98090.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index 7bc463910d4f..403926254c84 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -1635,7 +1635,7 @@ static int max98090_dai_set_fmt(struct snd_soc_dai *codec_dai,
regval |= M98090_RJ_MASK;
break;
case SND_SOC_DAIFMT_DSP_A:
- /* Not supported mode */
+ break;
default:
dev_err(component->dev, "DAI format unsupported");
return -EINVAL;
--
2.40.1