1
0
Fork 0
mirror of https://github.com/followmsi/android_kernel_google_msm.git synced 2024-11-06 23:17:41 +00:00
android_kernel_google_msm/sound/arm
Mike Dunn b66c35dd91 ALSA: pxa27x: fix ac97 cold reset
commit 41b645c862 upstream.

Cold reset on the pxa27x currently fails and

     pxa2xx_ac97_try_cold_reset: cold reset timeout (GSR=0x44)

appears in the kernel log.  Through trial-and-error (the pxa270 developer's
manual is mostly incoherent on the topic of ac97 reset), I got cold reset to
complete by setting the WARM_RST bit in the GCR register (and later noticed that
pxa3xx does this for cold reset as well).  Also, a timeout loop is needed to
wait for the reset to complete.

Tested on a palm treo 680 machine.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 08:50:55 -08:00
..
aaci.c ARM: 7362/1: AMBA: Add module_amba_driver() helper macro for amba_driver 2012-03-16 23:32:35 +00:00
aaci.h ALSA: AACI: make fifo variables more explanitory 2011-01-26 20:24:52 +00: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 ALSA: pxa27x: fix ac97 cold reset 2013-01-17 08:50:55 -08:00
pxa2xx-ac97.c ARM: pxa: use common IOMEM definition 2012-03-25 14:36:31 -05:00
pxa2xx-pcm-lib.c ASoC: PXA: Fix oops in __pxa2xx_pcm_prepare 2011-04-03 18:48:56 +09:00
pxa2xx-pcm.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
pxa2xx-pcm.h