All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix MSP71xx bpci interrupt handler return value
@ 2010-11-18 10:32 Anoop P A
  2010-12-24  9:36 ` Shane McDonald
  2011-01-25  0:20 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: Anoop P A @ 2010-11-18 10:32 UTC (permalink / raw)
  To: Ralf Baechle, Ben Hutchings, linux-mips, linux-kernel


Signed-off-by: Anoop P A <anoop.pa@gmail.com>
---
 arch/mips/pci/ops-pmcmsp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/pci/ops-pmcmsp.c b/arch/mips/pci/ops-pmcmsp.c
index b7c03d8..68798f8 100644
--- a/arch/mips/pci/ops-pmcmsp.c
+++ b/arch/mips/pci/ops-pmcmsp.c
@@ -308,7 +308,7 @@ static struct resource pci_mem_resource = {
  *  RETURNS:     PCIBIOS_SUCCESSFUL  - success
  *

****************************************************************************/
-static int bpci_interrupt(int irq, void *dev_id)
+static irqreturn_t bpci_interrupt(int irq, void *dev_id)
 {
 	struct msp_pci_regs *preg = (void *)PCI_BASE_REG;
 	unsigned int stat = preg->if_status;
@@ -326,7 +326,7 @@ static int bpci_interrupt(int irq, void *dev_id)
 	/* write to clear all asserted interrupts */
 	preg->if_status = stat;
 
-	return PCIBIOS_SUCCESSFUL;
+	return IRQ_HANDLED;
 }
 
 /*****************************************************************************
-- 
1.7.0.4




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

* Re: [PATCH] Fix MSP71xx bpci interrupt handler return value
  2010-11-18 10:32 [PATCH] Fix MSP71xx bpci interrupt handler return value Anoop P A
@ 2010-12-24  9:36 ` Shane McDonald
  2011-01-25  0:20 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Shane McDonald @ 2010-12-24  9:36 UTC (permalink / raw)
  To: Anoop P A; +Cc: Ralf Baechle, Ben Hutchings, linux-mips, linux-kernel

Hi Anoop:

On Thu, Nov 18, 2010 at 4:32 AM, Anoop P A <anoop.pa@gmail.com> wrote:
>
> Signed-off-by: Anoop P A <anoop.pa@gmail.com>
> ---
>  arch/mips/pci/ops-pmcmsp.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

I have successfully booted a 2.6.37-rc6 kernel with this patch applied
on an MSP7120 Garibaldi evaluation board.

Tested-by: Shane McDonald <mcdonald.shane@gmail.com>

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

* Re: [PATCH] Fix MSP71xx bpci interrupt handler return value
  2010-11-18 10:32 [PATCH] Fix MSP71xx bpci interrupt handler return value Anoop P A
  2010-12-24  9:36 ` Shane McDonald
@ 2011-01-25  0:20 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2011-01-25  0:20 UTC (permalink / raw)
  To: Anoop P A; +Cc: Ben Hutchings, linux-mips, linux-kernel

Applied - but please make sure your patches are not linewrapped!

Thanks,

  Ralf

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

end of thread, other threads:[~2011-01-25  0:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18 10:32 [PATCH] Fix MSP71xx bpci interrupt handler return value Anoop P A
2010-12-24  9:36 ` Shane McDonald
2011-01-25  0:20 ` 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.