public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pcf50633: Fix unsafe disable_irq
@ 2009-05-09 20:21 Nelson Castillo
  0 siblings, 0 replies; only message in thread
From: Nelson Castillo @ 2009-05-09 20:21 UTC (permalink / raw)
  To: sameo; +Cc: balajirrao, linux-kernel

Without this change Openmoko Freerunner (GTA02) bootstrap
will deadlock. As pointed out in other patches this issue is
in the wild since the merge of:

commit 3aa551c9b4c40018f0e261a178e3d25478dc04a9
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Mon Mar 23 18:28:15 2009 +0100

   genirq: add threaded interrupt handler support

   Add support for threaded interrupt handlers

Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
---

 drivers/mfd/pcf50633-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c
index 7793932..11a6248 100644
--- a/drivers/mfd/pcf50633-core.c
+++ b/drivers/mfd/pcf50633-core.c
@@ -443,7 +443,7 @@ static irqreturn_t pcf50633_irq(int irq, void *data)
 	dev_dbg(pcf->dev, "pcf50633_irq\n");
 
 	get_device(pcf->dev);
-	disable_irq(pcf->irq);
+	disable_irq_nosync(pcf->irq);
 	schedule_work(&pcf->irq_work);
 
 	return IRQ_HANDLED;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-09 20:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-09 20:21 [PATCH] pcf50633: Fix unsafe disable_irq Nelson Castillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox