When SOC enter wait mode, ipmux2_clk will disable to save power, if using
ssi1 for audio transfer, audio will not work correctly.
To around this, using ssi2.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream);
- iprtd->dma_data.peripheral_type = IMX_DMATYPE_SSI;
+ iprtd->dma_data.peripheral_type = IMX_DMATYPE_SSI_SP;
iprtd->dma_data.priority = DMA_PRIO_HIGH;
iprtd->dma_data.dma_request = dma_params->dma;
.stream_name = "HiFi",
.codec_dai_name = "sgtl5000",
.codec_name = "sgtl5000.1-000a",
- .cpu_dai_name = "imx-ssi.0",
- .platform_name = "imx-pcm-audio.0",
+ .cpu_dai_name = "imx-ssi.1",
+ .platform_name = "imx-pcm-audio.1",
.init = imx_3stack_sgtl5000_init,
.ops = &imx_sgtl5000_hifi_ops,
},