kernel-ark/sound
Janusz Krzysztofik 4d187fb830 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-11-06 13:54:26 +00:00
..
aoa ALSA: Don't assume i2c device probing always succeeds 2009-10-01 07:46:33 +02:00
arm ALSA: aaci: ARM1176 aaci-pl041 AC97 register read timeout 2009-10-13 15:59:55 +02:00
atmel
core ALSA: sound: Move dereference after NULL test and drop unnecessary NULL tests 2009-10-30 12:01:27 +01:00
drivers ALSA: dummy - Fix descriptions of pcm_substreams parameter 2009-11-02 14:11:55 +01:00
i2c
isa Merge branch 'topic/cmi8330' into for-linus 2009-09-10 15:32:45 +02:00
mips ALSA: Fix invalid __exit in sound/mips/*.c 2009-10-02 11:06:16 +02:00
oss trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
parisc ALSA: sound/parisc: Move dereference after NULL test 2009-10-30 12:01:38 +01:00
pci Merge branch 'fix/hda' into for-linus 2009-11-02 16:18:33 +01:00
pcmcia ALSA: pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (sound) 2009-11-02 11:41:41 +01:00
ppc powerpc: Minor cleanup to sound/ppc/Kconfig 2009-10-27 16:42:42 +11:00
sh
soc ASoC: OMAP: Don't try to set unsupported OMAP_DMA_DATA_BURST_16 on OMAP1 2009-11-06 13:54:26 +00:00
sparc
spi
synth
usb ALSA: snd-usb-caiaq: Bump version number to 1.3.20 2009-10-30 12:29:56 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c Driver-Core: extend devnode callbacks to provide permissions 2009-09-19 12:50:38 -07:00
sound_firmware.c