diff options
author | Guoqing Jiang <b22156@freescale.com> | 2009-11-25 15:57:09 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-02-12 17:19:38 +0100 |
commit | a5b395b697586f7327d8a4ce52973a6230ab36ee (patch) | |
tree | b5ae541b5dda63edb8549633476ca32ab8e5de8f /sound | |
parent | 2465cfa22089ab0c6d2d30cbe097e4594c139b08 (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; } |