]> www.infradead.org Git - users/hch/misc.git/commitdiff
ASoC: renesas: msiof: add .symmetric_xxx on snd_soc_dai_driver
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 25 Sep 2025 05:17:21 +0000 (05:17 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 25 Sep 2025 16:43:26 +0000 (17:43 +0100)
MSIOF TX/RX are sharing same clock. Adds .symmetric_xxx flags.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Link: https://patch.msgid.link/87a52jyuu6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/renesas/rcar/msiof.c

index a239a88543ee62906eb43fd7af6473d6870f1cd2..d501ad9d71413bb8ce5e3de03765974336809484 100644 (file)
@@ -338,6 +338,9 @@ static struct snd_soc_dai_driver msiof_dai_driver = {
                .channels_max   = 2,
        },
        .ops = &msiof_dai_ops,
+       .symmetric_rate         = 1,
+       .symmetric_channels     = 1,
+       .symmetric_sample_bits  = 1,
 };
 
 static struct snd_pcm_hardware msiof_pcm_hardware = {