OSDN Git Service

ASoC: SOF: imx8m: add SAI1 info
authorViorel Suman <viorel.suman@nxp.com>
Thu, 16 Sep 2021 07:37:25 +0000 (10:37 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 16 Sep 2021 13:11:15 +0000 (14:11 +0100)
Add SAI1 instance to imx8m_dai array.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210916073725.359561-1-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx8m.c

index 6c3f7ff..0335175 100644 (file)
@@ -247,6 +247,17 @@ static int imx8m_ipc_pcm_params(struct snd_sof_dev *sdev,
 
 static struct snd_soc_dai_driver imx8m_dai[] = {
 {
+       .name = "sai1",
+       .playback = {
+               .channels_min = 1,
+               .channels_max = 32,
+       },
+       .capture = {
+               .channels_min = 1,
+               .channels_max = 32,
+       },
+},
+{
        .name = "sai3",
        .playback = {
                .channels_min = 1,