projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecf4f82
)
usb: cdns3: drd: return IRQ_NONE explicitly.
author
Pawel Laszczak
<pawell@cadence.com>
Mon, 13 Jul 2020 10:05:49 +0000
(12:05 +0200)
committer
Felipe Balbi
<balbi@kernel.org>
Fri, 24 Jul 2020 13:45:12 +0000
(16:45 +0300)
IRQ_NONE can be returned indirect.
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/cdns3/drd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/cdns3/drd.c
b/drivers/usb/cdns3/drd.c
index 6d2da504ad491037b1ed57670e542b516b6760fd..05a9f7d54c46dcf6fa91cffc8cc0a71d2194a368 100644
(file)
--- a/
drivers/usb/cdns3/drd.c
+++ b/
drivers/usb/cdns3/drd.c
@@
-279,12
+279,12
@@
static irqreturn_t cdns3_drd_irq(int irq, void *data)
u32 reg;
if (cdns->dr_mode != USB_DR_MODE_OTG)
- return
ret
;
+ return
IRQ_NONE
;
reg = readl(&cdns->otg_regs->ivect);
if (!reg)
- return
ret
;
+ return
IRQ_NONE
;
if (reg & OTGIEN_ID_CHANGE_INT) {
dev_dbg(cdns->dev, "OTG IRQ: new ID: %d\n",