All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] disable the right device
       [not found] <20081026103635.GA10490@linux-mips.org>
@ 2008-10-27  1:29 ` Phil Sutter
  2008-10-27  7:09   ` Ralf Baechle
  2008-10-27  1:30 ` [PATCH] irq handler must disable the handled irq Phil Sutter
  1 sibling, 1 reply; 4+ messages in thread
From: Phil Sutter @ 2008-10-27  1:29 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Linux-Mips List, Florian Fainelli

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 arch/mips/rb532/devices.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/rb532/devices.c b/arch/mips/rb532/devices.c
index 31619c6..2f22d71 100644
--- a/arch/mips/rb532/devices.c
+++ b/arch/mips/rb532/devices.c
@@ -280,7 +280,7 @@ static int __init plat_setup_devices(void)
 {
 	/* Look for the CF card reader */
 	if (!readl(IDT434_REG_BASE + DEV1MASK))
-		rb532_devs[1] = NULL;
+		rb532_devs[2] = NULL;	/* disable cf_slot0 at index 2 */
 	else {
 		cf_slot0_res[0].start =
 		    readl(IDT434_REG_BASE + DEV1BASE);
-- 
1.5.6.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] irq handler must disable the handled irq
       [not found] <20081026103635.GA10490@linux-mips.org>
  2008-10-27  1:29 ` [PATCH] disable the right device Phil Sutter
@ 2008-10-27  1:30 ` Phil Sutter
  2008-10-27  6:51   ` Ralf Baechle
  1 sibling, 1 reply; 4+ messages in thread
From: Phil Sutter @ 2008-10-27  1:30 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Linux-Mips List, Florian Fainelli

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 drivers/ata/pata_rb532_cf.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/pata_rb532_cf.c b/drivers/ata/pata_rb532_cf.c
index f8b3ffc..a1d44a6 100644
--- a/drivers/ata/pata_rb532_cf.c
+++ b/drivers/ata/pata_rb532_cf.c
@@ -116,6 +116,8 @@ static irqreturn_t rb532_pata_irq_handler(int irq, void *dev_instance)
 		set_irq_type(info->irq, IRQ_TYPE_LEVEL_HIGH);
 	}
 
+	disable_irq(irq);
+
 	return IRQ_HANDLED;
 }
 
-- 
1.5.6.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] irq handler must disable the handled irq
  2008-10-27  1:30 ` [PATCH] irq handler must disable the handled irq Phil Sutter
@ 2008-10-27  6:51   ` Ralf Baechle
  0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2008-10-27  6:51 UTC (permalink / raw)
  To: Phil Sutter; +Cc: Linux-Mips List, Florian Fainelli

On Mon, Oct 27, 2008 at 02:30:26AM +0100, Phil Sutter wrote:

>  drivers/ata/pata_rb532_cf.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Please send this patch to the IDE maintainer & list.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] disable the right device
  2008-10-27  1:29 ` [PATCH] disable the right device Phil Sutter
@ 2008-10-27  7:09   ` Ralf Baechle
  0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2008-10-27  7:09 UTC (permalink / raw)
  To: Phil Sutter; +Cc: Linux-Mips List, Florian Fainelli

On Mon, Oct 27, 2008 at 02:29:57AM +0100, Phil Sutter wrote:

Thanks, applied.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-27  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20081026103635.GA10490@linux-mips.org>
2008-10-27  1:29 ` [PATCH] disable the right device Phil Sutter
2008-10-27  7:09   ` Ralf Baechle
2008-10-27  1:30 ` [PATCH] irq handler must disable the handled irq Phil Sutter
2008-10-27  6:51   ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.