summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohn Lin <john.lin@realtek.com>2015-05-18 10:34:03 +0800
committerMark Brown <broonie@kernel.org>2015-05-19 13:10:26 +0100
commit345b0f50e74671fd8299e26c73ab50c5a0cf6ed9 (patch)
treefaefaa8d06d752816c40eb98f1f6d6a354c3e04c /arch
parent05a9b46a718f664fce5d236abe72bffb8200d616 (diff)
ASoC: rt5645: fix kernel hang when call rt5645_set_jack_detect()
rt5645_set_jack_detect() is usually called from snd_soc_dai_link.init() and it calls snd_soc_jack_report() from rt5645_irq_detection() if jack is inserted. snd_soc_jack_report() results in kernel hang if it is called from a context which cannot sleep. This patch makes sure snd_soc_jack_report() is called from workqueue. It can fix the kernel hang issue. Signed-off-by: John Lin <john.lin@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions