]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5645: Init jack_detect_work before registering irq
authorNicolas Boichat <drinkcat@chromium.org>
Fri, 5 Jun 2015 10:42:12 +0000 (18:42 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 5 Jun 2015 17:15:12 +0000 (18:15 +0100)
commit372df56f6e99317000653f1f857df893ac92d9a4
treeeb7926b63b71fbb7143688edbb500912f68000cf
parent78704f6d5508521a8ec26944da1c289ef4dcae94
ASoC: rt5645: Init jack_detect_work before registering irq

Prevents frequent panic on boot, if the irq handler rt5645_irq
gets called before the workqueue rt5645_jack_detect_work is
initialized.

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/rt5645.c