MUSB: Blackfin: don't fake blackfin_interrupt() result

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 30, 2010 - 10:59 am

Gitweb:     http://git.kernel.org/linus/2f831751c5a0511fec6a9074643d9914eedabc83
Commit:     2f831751c5a0511fec6a9074643d9914eedabc83
Parent:     1e753451eb1dc97ab8bdad3ae5278301e5b981bf
Author:     Sergei Shtylyov <sshtylyov@ru.mvista.com>
AuthorDate: Thu Mar 25 13:14:25 2010 +0200
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Fri Apr 30 09:25:08 2010 -0700

    MUSB: Blackfin: don't fake blackfin_interrupt() result
    
    Commit a5073b52833e4df8e16c93dc4cbb7e0c558c74a2 (musb_gadget: fix unhandled
    endpoint 0 IRQs) misses this change to blackfin.c: stop faking successful
    result of blackfin_interrupt() and emitting a debug message on an unhandled
    interrupt.
    
    Signed-off-by: Sergei Shtylyov <sshtylyov@mvista.com>
    Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/usb/musb/blackfin.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c
index 719a22d..ec8d324 100644
--- a/drivers/usb/musb/blackfin.c
+++ b/drivers/usb/musb/blackfin.c
@@ -172,13 +172,7 @@ static irqreturn_t blackfin_interrupt(int irq, void *__hci)
 
 	spin_unlock_irqrestore(&musb->lock, flags);
 
-	/* REVISIT we sometimes get spurious IRQs on g_ep0
-	 * not clear why... fall in BF54x too.
-	 */
-	if (retval != IRQ_HANDLED)
-		DBG(5, "spurious?\n");
-
-	return IRQ_HANDLED;
+	return retval;
 }
 
 static void musb_conn_timer_handler(unsigned long _musb)
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MUSB: Blackfin: don't fake blackfin_interrupt() result, Linux Kernel Mailing ..., (Fri Apr 30, 10:59 am)