]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit795ad1a0ae231a9c1e86c72922143a18f23bcd02
treeb88d97a1c276034723497d786918d3b76633a16c
parentfee732bd1e64d2c97c0e219b592d7b5c368631c4
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