projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd8f6d
)
usb: dwc3: gadget: WARN() in case of unknown IRQ
author
Felipe Balbi
<balbi@ti.com>
Tue, 27 Jan 2015 19:49:28 +0000
(13:49 -0600)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 27 Jan 2015 19:56:10 +0000
(13:56 -0600)
if an unknown IRQ event is triggered, that means
the HW is really misbehaving. Instead of printing
a debug message, let's WARN() so users report
when that happens.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index 944036d4c83d31c0036928842633ee048a525f00..c6eec261a3043682d812937efbe40eabd6fc260e 100644
(file)
--- a/
drivers/usb/dwc3/gadget.c
+++ b/
drivers/usb/dwc3/gadget.c
@@
-2518,7
+2518,7
@@
static void dwc3_gadget_interrupt(struct dwc3 *dwc,
dev_vdbg(dwc->dev, "Overflow\n");
break;
default:
- dev_
dbg
(dwc->dev, "UNKNOWN IRQ %d\n", event->type);
+ dev_
WARN
(dwc->dev, "UNKNOWN IRQ %d\n", event->type);
}
}