ALSA: pxa: slightly refactor reset handling
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 17 Oct 2013 10:01:35 +0000 (14:01 +0400)
committerMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 23:35:00 +0000 (00:35 +0100)
commitbeb02cddd64b56081951de9048952f0fa1ff545f
tree89e4d1e26356ea30fb9bbd9e59c23a3f1f3416f2
parent61e6cfa80de5760bbe406f4e815b7739205754d2
ALSA: pxa: slightly refactor reset handling

PXA25x also shows some problems when using interrupts during reset
handling. Thus do not use interrupts on all pxa kinds (to detect codec
ready state). Instead use a common mdelay-loop on all platforms to
detect codecs becoming ready.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/arm/pxa2xx-ac97-lib.c