diff options
author | Felipe Balbi <balbi@ti.com> | 2015-01-27 22:49:28 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 22:56:10 +0300 |
commit | e9f2aa871c732acfe29c3ba5e6b541b2aa786778 (patch) | |
tree | 1a496958952786ac6f019a7bac8d55b5c91687af /drivers/usb/dwc3 | |
parent | 4cd8f6d05599be8bd2052df28c805f7c2f8ff479 (diff) | |
download | linux-e9f2aa871c732acfe29c3ba5e6b541b2aa786778.tar.xz |
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, 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); } } |