diff options
author | Felipe Balbi <balbi@ti.com> | 2015-01-27 14:49:28 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 14:56:10 -0500 |
commit | e9f2aa871c732acfe29c3ba5e6b541b2aa786778 (patch) | |
tree | 1a496958952786ac6f019a7bac8d55b5c91687af /drivers/usb/dwc3 | |
parent | 4cd8f6d05599be8bd2052df28c805f7c2f8ff479 (diff) |
usb: dwc3: gadget: WARN() in case of unknown IRQ
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>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 944036d4c83d..c6eec261a304 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c | |||
@@ -2518,7 +2518,7 @@ static void dwc3_gadget_interrupt(struct dwc3 *dwc, | |||
2518 | dev_vdbg(dwc->dev, "Overflow\n"); | 2518 | dev_vdbg(dwc->dev, "Overflow\n"); |
2519 | break; | 2519 | break; |
2520 | default: | 2520 | default: |
2521 | dev_dbg(dwc->dev, "UNKNOWN IRQ %d\n", event->type); | 2521 | dev_WARN(dwc->dev, "UNKNOWN IRQ %d\n", event->type); |
2522 | } | 2522 | } |
2523 | } | 2523 | } |
2524 | 2524 | ||