aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-10-17 16:14:49 +0200
committerLars-Peter Clausen <lars@metafoo.de>2009-10-17 16:14:49 +0200
commitca72506f43fbc9a1cd62f0b160792c65fe016bff (patch)
tree8e97e5b5478fe037f0f294f7f0539d1fd6c5f9e8
parent464aed729288801b5acb339c1025494c5c12407f (diff)
pcf50606: Use disable_irq_nosync to prevent deadlock.
-rw-r--r--drivers/mfd/pcf50606-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/pcf50606-core.c b/drivers/mfd/pcf50606-core.c
index 71c56a8b098..83d5822e64e 100644
--- a/drivers/mfd/pcf50606-core.c
+++ b/drivers/mfd/pcf50606-core.c
@@ -426,7 +426,7 @@ static irqreturn_t pcf50606_irq(int irq, void *data)
struct pcf50606 *pcf = data;
get_device(pcf->dev);
- disable_irq(pcf->irq);
+ disable_irq_nosync(pcf->irq);
schedule_work(&pcf->irq_work);
return IRQ_HANDLED;