[alsa-devel] atmel_ssc_dai.c, use of dai->id

Peter Meerwald-Stadler pmeerw at pmeerw.net
Mon Jul 4 21:00:11 CEST 2016


Hello,

I am trying to use SSC1 (not SSC0 which might work) on a SAMA5D4-Xplained 
board (4.1 kernel, but close to mainline)

c706f2e5 ASoC: atmel_ssc_dai: distinguish the different SSC
fixes an issue with cpu_dai id being always 0, while the ssc id should 
have been used (or the platform_device id)

I think there is a remaining issue with DMA parameters in 
atmel_ssc_startup():

line 324:
dma_params = &ssc_dma_params[dai->id][dir];

I think it should be 
dma_params = &ssc_dma_params[pdev->id][dir];

I am new to this platform, please comment
I can submit a formal patch later-on of course

thanks, regards, p.

-- 

Peter Meerwald-Stadler
+43-664-2444418 (mobile)


More information about the Alsa-devel mailing list