diff options
author | Guoqing Jiang <b22156@freescale.com> | 2009-11-25 15:57:09 +0800 |
---|---|---|
committer | Xiexiaobo <X.Xie@freescale.com> | 2009-11-25 16:27:15 +0800 |
commit | 3c524cea77268a60418b72f7a5e6570284c6c1cb (patch) | |
tree | b5ae541b5dda63edb8549633476ca32ab8e5de8f /sound | |
parent | 7edea7fd67e43d7e17e4528f595604268d0ab0f4 (diff) |
ENGR00118701 MX25:Fix headphone plug-in caused system hang
To keep system runs well after plugin headphone, replace disable_irq with
disable_irq_nosync.
Signed-off-by: Guoqing Jiang <b22156@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/imx/imx-3stack-sgtl5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-3stack-sgtl5000.c b/sound/soc/imx/imx-3stack-sgtl5000.c index fed97f9c2655..95978fd77759 100644 --- a/sound/soc/imx/imx-3stack-sgtl5000.c +++ b/sound/soc/imx/imx-3stack-sgtl5000.c @@ -312,7 +312,7 @@ static DECLARE_DELAYED_WORK(hp_event, headphone_detect_handler); static irqreturn_t imx_headphone_detect_handler(int irq, void *data) { - disable_irq(irq); + disable_irq_nosync(irq); schedule_delayed_work(&hp_event, msecs_to_jiffies(200)); return IRQ_HANDLED; } |