aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core.c
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>2015-10-12 05:23:27 -0400
committerFelipe Balbi <balbi@ti.com>2015-10-13 14:17:42 -0400
commit44e4a60dacf8a96f28b5e021b54ba9eeb793ca2e (patch)
treec35bb3603add0494322c8e8f051be3900c8a8944 /drivers/usb/dwc2/core.c
parentd115d7050a0d2c4967532f18c9cb522fea6b7280 (diff)
usb: dwc2: fix duplicate argument warning
Fix a duplicate argument warning reported by 0-DAY kernel test infrastructure in the following patch: 77dbf71 usb: dwc2: host: add disconnect interrupt to host only interrupts Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/core.c')
-rw-r--r--drivers/usb/dwc2/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/dwc2/core.c b/drivers/usb/dwc2/core.c
index bf5e951fbb7f..ef73e498e98f 100644
--- a/drivers/usb/dwc2/core.c
+++ b/drivers/usb/dwc2/core.c
@@ -863,8 +863,7 @@ void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg)
863 863
864 /* Enable host mode interrupts without disturbing common interrupts */ 864 /* Enable host mode interrupts without disturbing common interrupts */
865 intmsk = dwc2_readl(hsotg->regs + GINTMSK); 865 intmsk = dwc2_readl(hsotg->regs + GINTMSK);
866 intmsk |= GINTSTS_DISCONNINT | GINTSTS_PRTINT | GINTSTS_HCHINT | 866 intmsk |= GINTSTS_DISCONNINT | GINTSTS_PRTINT | GINTSTS_HCHINT;
867 GINTSTS_DISCONNINT;
868 dwc2_writel(intmsk, hsotg->regs + GINTMSK); 867 dwc2_writel(intmsk, hsotg->regs + GINTMSK);
869} 868}
870 869