Commit e401029e authored by Peter Meerwald's avatar Peter Meerwald Committed by Mark Brown

ASoC: atmel_ssc_dai: Fix DMA params for different SSC

follow-up patch from c706f2e5 ASoC: atmel_ssc_dai: distinguish the
different SSC

cpu_dai id is always 0, use platform_device id to distinguish DMA
parameters of SSCs
Signed-off-by: default avatarPeter Meerwald-Stadler <p.meerwald@bct-electronic.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent fef5b2ba
......@@ -321,7 +321,7 @@ static int atmel_ssc_startup(struct snd_pcm_substream *substream,
return ret;
}
dma_params = &ssc_dma_params[dai->id][dir];
dma_params = &ssc_dma_params[pdev->id][dir];
dma_params->ssc = ssc_p->ssc;
dma_params->substream = substream;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment