]> Pileus Git - ~andy/linux/commit
ASoC: wm8994: Move DCS done IRQ request later
authorwangbiao <biao.wang@intel.com>
Fri, 22 Nov 2013 02:44:30 +0000 (10:44 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 27 Nov 2013 18:17:22 +0000 (18:17 +0000)
commitb888edbc68fbace3101cb092c6910476e85ae922
tree3b0f5b1d1ded5e2108cbea14ac97ae349bc61ab7
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
ASoC: wm8994: Move DCS done IRQ request later

once code return from request_threaded_irq, irq was setup enabled by
default, but completion var dcs_done not got initialized yet, if then a
dcs done irq was raised, system will got hung as the sync mechanism is
invalid now.

so this patch move dcs done irq request to the end of initialization
of completion.

Signed-off-by: wang, biao <biao.wang@intel.com>
Signed-off-by: Zhang, Di <di.zhang@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8994.c