ALSA: ASoC: pxa: fix pxa2xx-ac97 DAI initialization order
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 17 Oct 2013 10:01:36 +0000 (14:01 +0400)
committerMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 23:35:00 +0000 (00:35 +0100)
commitf62aa9b6c900a9aaf302c1f9ac1883c143afd832
treeb88d97a1c276034723497d786918d3b76633a16c
parentbeb02cddd64b56081951de9048952f0fa1ff545f
ALSA: ASoC: pxa: fix pxa2xx-ac97 DAI initialization order

After recent changes to codec/DAI initialization order changes, codec
driver (wm9712 in my case) tries to access codec prior to
pxa2xx_ac97_hw_probe() being called (because DAIs are probed after all
codecs are probed). Move hw-related probe/remove/suspend/resume
functions to pxa2xx-ac97 driver level, instead of DAI level.

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