Skip to content

Commit

Permalink
MUSB: Blackfin: don't fake blackfin_interrupt() result
Browse files Browse the repository at this point in the history
Commit a5073b5 (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>
  • Loading branch information
Sergei Shtylyov authored and Greg Kroah-Hartman committed Apr 30, 2010
1 parent 1e75345 commit 2f83175
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/usb/musb/blackfin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2f83175

Please sign in to comment.