imx-sdma.c broken on imx53 for sound
Hi,
On the iMX53, the sound chip sgtl5000 seems to get SDMA channel 0, but
this code in drivers/dma/imx-sdma.c:
/* not interested in channel 0 interrupts */ if (sdmac->channel == 0) return;
causes the DMA to be ignored. If I comment out the above, I still get no
sound...
Anyone have any ideas?
Thanks much for any help.
Rick
Hi Rick,
Quoted 5 lines · Rick Bronson
Hi,
On the iMX53, the sound chip sgtl5000 seems to get SDMA channel 0, but
this code indrivers/dma/imx-sdma.c:
Quoted 8 lines
/* not interested in channel 0 interrupts */ if (sdmac->channel == 0) return;causes the DMA to be ignored. If I comment out the above, I still get no
sound...Anyone have any ideas?
Are you providing the mx53 sdma firmware?
Regards,
Fabio Estevam
Rick,
Quoted 3 lines · Fabio Estevam
Quoted 1 line
Anyone have any ideas?
Are you providing the mx53 sdma firmware?
Just tried to play audio on my mx53qsb and it works fine if the sdma firmware is provided.
Regards,
Fabio Estevam
Quoted 4 lines · Rick Bronson
Hi Fabio,
Thanks for the help. Apparently the firmware moved from internal to
/lib/firmware/imx/sdma/sdma-imx53.bin
You can generate the mx53 sdma firmware using this tool:
http://git.pengutronix.de/?p=imx/sdma-firmware.git;a=summary
Regards,
Fabio Estevam