pxa2xx-ac97: switch AC unit to correct state before probing
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Mon, 5 Jan 2009 09:58:06 +0000 (12:58 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Jan 2009 17:47:17 +0000 (17:47 +0000)
commit796123368871e4a838dc0dfd5dbc3cd8981ef429
tree281f0576a8a5af9002c00e154d99d5a19759bbae
parent05d5e991a7290807e7d62a7d272bb4f37c27c6ae
pxa2xx-ac97: switch AC unit to correct state before probing

If AC97 unit is in partially enabled state, early request_irq can trigger
IRQ storm or even full hang up. Workaround this by forcibly switching ACLINK off
at the start of the probe.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/arm/pxa2xx-ac97-lib.c