kernel-fxtec-pro1x/sound/soc
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
..
atmel Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2009-09-14 17:48:14 -07:00
au1x ASoC: au1x: PSC-AC97 bugfixes 2009-09-08 19:21:27 +01:00
blackfin ASoC: fix kconfig order of Blackfin drivers 2009-10-01 11:27:27 +01:00
codecs Merge branch 'upstream/wm8350' into for-2.6.32 2009-10-06 19:29:47 +01:00
davinci Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2009-10-03 11:25:30 -07:00
fsl Merge branch 'fix/asoc' into for-linus 2009-09-17 21:08:53 +02:00
imx ASoC: Remove absent SYNC and TDM DAI format options from i.MX SSI 2009-10-06 19:26:57 +01:00
omap ASoC: OMAP: Don't try to set unsupported OMAP_DMA_DATA_BURST_16 on OMAP1 2009-11-06 13:54:26 +00:00
pxa Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2009-10-03 11:25:30 -07:00
s3c24xx ARM: S3C: Add info for supporting circular DMA buffers 2009-10-28 18:22:57 +00: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: fix I2C build errors 2009-08-11 10:47:25 +01:00
soc-core.c ASoC: Fix possible codec_dai->ops NULL pointer problems 2009-10-19 16:15:03 +01:00
soc-dapm.c ASoC: Serialize access to dapm_power_widgets() 2009-10-13 13:33:02 +01:00
soc-jack.c ASoC: jack: Fix race in snd_soc_jack_add_gpios 2009-07-31 22:38:43 +01:00