linux_dsm_epyc7002/sound/arm
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
..
aaci.c ALSA: aaci - Fix alignment faults on ARM Cortex introduced by commit 29a4f2d3 2010-04-13 09:46:55 +02:00
aaci.h ALSA: AACI: switch to per-pcm locking 2009-12-18 20:31:13 +01:00
Kconfig ALSA: drop outdated and broken sa11xx-uda1341 driver 2009-03-17 17:58:13 +01:00
Makefile ALSA: Remove old DMA-mmap code from arm/devdma.c 2009-11-27 10:15:24 +01:00
pxa2xx-ac97-lib.c [ARM] pxa: remove now unnecessary pxa_gpio_mode() calls in ac97 2010-03-02 07:40:48 +08:00
pxa2xx-ac97.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
pxa2xx-pcm-lib.c ASoC: PXA: Fix oops in __pxa2xx_pcm_prepare 2011-04-03 18:48:56 +09:00
pxa2xx-pcm.c ALSA: Separate common pxa2xx-pcm code 2008-09-23 08:18:10 +02:00
pxa2xx-pcm.h [ARM] pxa: explicit #include <mach/dma.h> in various drivers 2008-12-02 14:42:26 +08:00