diff options
author | Pawel Laszczak <pawell@cadence.com> | 2020-07-13 12:05:49 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-07-24 16:45:12 +0300 |
commit | 03cce68a828dba13b3715033e5133839820218c3 (patch) | |
tree | 75753fa5d956239c8a844c33656ccc85a359e679 /drivers/usb/cdns3 | |
parent | ecf4f823fb7050e4f450bb56cd403cbb6d41ca7c (diff) | |
download | lwn-03cce68a828dba13b3715033e5133839820218c3.tar.gz lwn-03cce68a828dba13b3715033e5133839820218c3.zip |
usb: cdns3: drd: return IRQ_NONE explicitly.
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>
Diffstat (limited to 'drivers/usb/cdns3')
-rw-r--r-- | drivers/usb/cdns3/drd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c index 6d2da504ad49..05a9f7d54c46 100644 --- 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", |