diff options
author | Guoqing Jiang <b22156@freescale.com> | 2009-11-25 15:57:09 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2010-03-25 14:01:15 -0400 |
commit | 97945a3ae7c980255da373847936f3ede10aaecd (patch) | |
tree | b5ae541b5dda63edb8549633476ca32ab8e5de8f /sound | |
parent | e613598a3c22d7416c99fce62cde159568ebd701 (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; } |