linux/sound/soc/pxa
Vasily Khoruzhick 97c96c076b ASoC: PXA: Fix oops in __pxa2xx_pcm_prepare
pxa2xx_pcm_hw_free frees dma channel and sets prtd->dma_ch to -1,
but does not set prtd->params to NULL, so if pxa2xx_pcm_hw_params will
be called immediately, it leaves prtd->dma_ch initialized with -1,
and it results in oops in __pxa2xx_pcm_prepare. This bug is triggered
via SDL.

This patch adds check for prtd->dma_ch to __pxa2xx_pcm_prepare and
cleans prtd->params, so now it works properly.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-04-03 18:48:56 +09:00
..
corgi.c ASoC: Fix CODEC device name for Corgi 2011-03-30 07:12:46 +09:00
e740_wm9705.c ASoC: correct pxa AC97 DAI names 2011-02-25 11:42:18 +00:00
e750_wm9705.c ASoC: correct pxa AC97 DAI names 2011-02-25 11:42:18 +00:00
e800_wm9712.c ASoC: correct pxa AC97 DAI names 2011-02-25 11:42:18 +00:00
em-x270.c ASoC: correct pxa AC97 DAI names 2011-02-25 11:42:18 +00:00
imote2.c ASoC: pxa2xx-i2s is the proper name of the I2S DAI, not pxa-i2s. 2010-08-23 13:36:46 +01:00
Kconfig ASoC: fix SND_PXA2XX_LIB Kconfig warning 2010-11-25 11:07:10 +00:00
magician.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
Makefile ASoC: add saarb machine driver for 88pm860x 2010-08-18 18:04:55 +01:00
mioa701_wm9713.c ASoC: correct pxa AC97 DAI names 2011-02-25 11:42:18 +00:00
palm27x.c ASoC: correct pxa AC97 DAI names 2011-02-25 11:42:18 +00:00
poodle.c ASoC: correct link specifications for corgi, poodle and spitz 2011-01-25 15:18:42 +00:00
pxa-ssp.c arm/pxa2xx: reorgazine SSP and SPI header files 2010-12-01 12:18:33 +01:00
pxa-ssp.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-ac97.c ASoC: remove include of pxa2xx-pcm.h in pxa2xx-ac97.c 2010-08-20 12:14:47 +01:00
pxa2xx-ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-i2s.c ASoC: Enable autoloading of pxa2xx CPU I2S driver with module alias 2010-08-23 13:36:47 +01:00
pxa2xx-i2s.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-pcm.c ASoC: PXA: Fix oops in __pxa2xx_pcm_prepare 2011-04-03 18:48:56 +09:00
raumfeld.c ASoC: PXA: formatting 2011-02-02 20:45:37 +00:00
saarb.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
spitz.c ASoC: correct link specifications for corgi, poodle and spitz 2011-01-25 15:18:42 +00:00
tavorevb3.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
tosa.c Merge branch 'for-2.6.38' into for-2.6.39 2011-02-25 11:45:09 +00:00
z2.c ASoC: PXA: Z2: Fix codec pin name 2011-03-11 12:03:13 +00:00
zylonite.c ASoC: zylonite: set .codec_dai_name in initializer 2011-03-30 09:26:31 +09:00