linux/sound/soc
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
..
atmel ASoC: at91sam9g20ek_2mmc board uses same audio connexion as at91sam9g20ek 2009-10-09 12:41:55 +01:00
au1x ASoC: au1x: psc-ac97: reorganize timeouts 2009-10-19 16:12:31 +01:00
blackfin Merge branch 'for-2.6.32' into for-2.6.33 2009-10-01 11:35:11 +01:00
codecs ASoC: tlv320dac33: typo fix in the header 2009-10-21 19:08:21 +01:00
davinci Merge branch 'for-2.6.32' into for-2.6.33 2009-10-06 16:01:27 +01:00
fsl Merge branch 'fix/asoc' into for-linus 2009-09-17 21:08:53 +02:00
imx Merge branch 'for-2.6.32' into for-2.6.33 2009-10-08 10:45:09 +01:00
omap ASoC: OMAP: Don't try to set unsupported OMAP_DMA_DATA_BURST_16 on OMAP1 2009-10-22 11:47:14 +01:00
pxa ASoC: finally enable support for eXeda and CM-X300 2009-10-15 15:01:47 +01:00
s3c24xx ASoC: S3C: Remove <plat/audio.h> 2009-10-13 13:33:53 +01:00
s6000 ASoC: tlv320aic3x: fixup board device changes 2009-08-21 10:52:57 +01:00
sh ASoC: Add FSI-AK4642 sound support for SuperH 2009-08-21 11:02:03 +01:00
txx9 ASoC: txx9aclc: dynamically allocate dmaengine devname 2009-06-25 21:06:30 +01:00
Kconfig ASoC: Hook i.MX into build 2009-08-15 11:37:30 +01:00
Makefile Merge branch 'for-2.6.32' into mxc 2009-08-15 11:20:44 +01:00
soc-cache.c ASoC: Convert soc-cache to use C99 style initialisers for the table 2009-09-21 04:21:47 -07:00
soc-core.c Merge branch 'for-2.6.32' into for-2.6.33 2009-10-19 16:15:35 +01:00
soc-dapm.c Merge branch 'for-2.6.32' into for-2.6.33 2009-10-15 15:02:14 +01:00
soc-jack.c ASoC: Move dereference after NULL test 2009-10-19 16:12:35 +01:00