linux/sound/soc/davinci
Sekhar Nori 48519f0ae0 ASoC: davinci: let platform data define edma queue numbers
Currently the EDMA queue to be used by for servicing ASP through
internal RAM is fixed to EDMAQ_0 and that to service internal RAM
from external RAM is fixed to EDMAQ_1.

This may not be the desirable configuration on all platforms. For
example, on DM365, queue 0 has large fifo size and is more suitable
for video transfers. Having audio and video transfers on the same
queue may lead to starvation on audio side.

platform data as defined currently passes a queue number to the driver
but that remains unused inside the driver.

Fix this by defining one queue each for ASP and RAM transfers in the
platform data and using it inside the driver.

Since EDMAQ_0 maps to 0, thats the queue that will be used if
the asp queue number is not initialized. None of the platforms
currently utilize ping-pong transfers through internal RAM so that
functionality remains unchanged too.

This patch has been tested on DM644x and OMAP-L138 EVMs.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-07-20 09:57:20 +01:00
..
Kconfig DaVinci: DM365: Voice Codec support for the DM365 EVM 2010-03-12 11:12:24 +00:00
Makefile ASoC: DaVinci: Voice Codec Interface 2010-03-12 11:12:21 +00:00
davinci-evm.c DaVinci: DM365: Voice Codec support for the DM365 EVM 2010-03-12 11:12:24 +00:00
davinci-i2s.c ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
davinci-i2s.h ASoC: DaVinci: Added two clocking possibilities to McBSP (I2S) 2010-07-06 23:54:06 +09:00
davinci-mcasp.c ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
davinci-mcasp.h ASoC: DaVinci: Update suspend/resume support for McASP driver 2009-12-04 10:49:45 +00:00
davinci-pcm.c ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
davinci-pcm.h ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
davinci-sffsdr.c ALSA: ASoC: Davinci: Updated sffsdr_hw_params() function to new format 2009-03-10 15:42:48 +00:00
davinci-vcif.c ASoC: davinci: check kzalloc() result (typo) 2010-07-17 19:45:56 +01:00
davinci-vcif.h ASoC: DaVinci: Voice Codec Interface 2010-03-12 11:12:21 +00:00