Skip to content

Commit e401029

Browse files
Peter Meerwaldbroonie
authored andcommitted
ASoC: atmel_ssc_dai: Fix DMA params for different SSC
follow-up patch from c706f2e 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: Peter Meerwald-Stadler <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent fef5b2b commit e401029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/atmel/atmel_ssc_dai.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ static int atmel_ssc_startup(struct snd_pcm_substream *substream,
321321
return ret;
322322
}
323323

324-
dma_params = &ssc_dma_params[dai->id][dir];
324+
dma_params = &ssc_dma_params[pdev->id][dir];
325325
dma_params->ssc = ssc_p->ssc;
326326
dma_params->substream = substream;
327327

0 commit comments

Comments
 (0)