linux_dsm_epyc7002/sound/soc/omap
Janusz Krzysztofik 0ffc11800c ASoC: OMAP: Don't try to set unsupported OMAP_DMA_DATA_BURST_16 on OMAP1
After DMA burst mode has been introduced in sound/soc/omap/omap-pcm.c,
omap_pcm_prepare() unconditionally calls:

        omap_set_dma_src_burst_mode(prtd->dma_ch, OMAP_DMA_DATA_BURST_16);
        omap_set_dma_dest_burst_mode(prtd->dma_ch, OMAP_DMA_DATA_BURST_16);

Current implementation of those two functions found in
arch/arm/plat-ompa/dma.c doesn't support OMAP_DMA_DATA_BURST_16 on OMAP1 at
all, so they both end with BUG() on that machine. That results in
ASoC being completely unusable, at least on my OMAP5910 based Amstrad Delta.

The patch corrects the problem by not calling those two functions when run on
OMAP1 class based machines.

Created against linux-2.6.32-rc5.
Tested on Amstrad Delta.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-10-22 11:47:14 +01:00
..
ams-delta.c ASoC: Amstrad Delta minor cleanups 2009-10-21 19:08:21 +01:00
Kconfig ASoC: add support for Amstrad E3 (Delta) machine 2009-07-31 22:38:44 +01:00
Makefile ASoC: add support for Amstrad E3 (Delta) machine 2009-07-31 22:38:44 +01:00
n810.c ASoC: tlv320aic3x: fixup board device changes 2009-08-21 10:52:57 +01:00
omap2evm.c ASoC: TWL4030: Add support Voice DAI 2009-04-20 12:44:24 +01:00
omap3beagle.c ASoC: Beagle: Add support for 4 channel 2009-04-24 17:38:25 +01:00
omap3evm.c ASoC: Added OMAP3 EVM support in ASoC. 2009-05-14 12:47:26 +01:00
omap3pandora.c ASoC: TWL4030: Add support Voice DAI 2009-04-20 12:44:24 +01:00
omap-mcbsp.c ASoC: OMAP: Add functionality to set CLKR and FSR sources in McBSP DAI 2009-08-28 18:36:43 +01:00
omap-mcbsp.h ASoC: OMAP: Add functionality to set CLKR and FSR sources in McBSP DAI 2009-08-28 18:36:43 +01:00
omap-pcm.c ASoC: OMAP: Don't try to set unsupported OMAP_DMA_DATA_BURST_16 on OMAP1 2009-10-22 11:47:14 +01:00
omap-pcm.h ASoC: OMAP: Use McBSP threshold to playback and capture 2009-08-20 20:10:29 +01:00
osk5912.c ASoC: OMAP: Fix FS polarity in OSK5912 machine driver 2009-04-16 13:37:26 +01:00
overo.c ASoC: TWL4030: Add support Voice DAI 2009-04-20 12:44:24 +01:00
sdp3430.c ASoC: SDP3430: Fix TWL GPIO6 pin mux request 2009-08-25 19:30:32 +01:00
zoom2.c ASoC: Zoom2: Update twl4030_setup_data parameters 2009-07-03 11:01:05 +01:00