summaryrefslogtreecommitdiff
path: root/drivers/headset_observe
diff options
context:
space:
mode:
author邱建斌 <qjb@rock-chips.com>2011-09-30 10:23:49 +0800
committer邱建斌 <qjb@rock-chips.com>2011-09-30 10:43:31 +0800
commitbc25e32c153cd7d274b0755827db14392232ef2b (patch)
treeb5386b923fae0f3f5b1c5c1c34934bd1f6abdf8c /drivers/headset_observe
parent23cf06f2ce00f48efb03db722b9254bc5f1722c4 (diff)
headset : headset interrupt to take the name
Diffstat (limited to 'drivers/headset_observe')
-rwxr-xr-xdrivers/headset_observe/rk_headset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/headset_observe/rk_headset.c b/drivers/headset_observe/rk_headset.c
index 22f2222a451b..64a3c495508b 100755
--- a/drivers/headset_observe/rk_headset.c
+++ b/drivers/headset_observe/rk_headset.c
@@ -441,7 +441,7 @@ static int rockchip_headsetobserve_probe(struct platform_device *pdev)
headset->irq_type[HEADSET] = IRQF_TRIGGER_RISING;
else
headset->irq_type[HEADSET] = IRQF_TRIGGER_FALLING;
- ret = request_irq(headset->irq[HEADSET], headset_interrupt, headset->irq_type[HEADSET], NULL, NULL);
+ ret = request_irq(headset->irq[HEADSET], headset_interrupt, headset->irq_type[HEADSET], "headset_input", NULL);
if (ret)
goto failed_free;
enable_irq_wake(headset->irq[HEADSET]);
@@ -454,7 +454,7 @@ static int rockchip_headsetobserve_probe(struct platform_device *pdev)
headset->irq[HOOK] = gpio_to_irq(pdata->Hook_gpio);
headset->irq_type[HOOK] = IRQF_TRIGGER_FALLING;
- ret = request_irq(headset->irq[HOOK], Hook_interrupt, headset->irq_type[HOOK] , NULL, NULL);
+ ret = request_irq(headset->irq[HOOK], Hook_interrupt, headset->irq_type[HOOK] , "headset_hook", NULL);
if (ret)
goto failed_free;
disable_irq(headset->irq[HOOK]);