diff options
| -rw-r--r-- | drivers/usb/dwc2/core.c | 2 | ||||
| -rw-r--r-- | drivers/usb/dwc2/core.h | 2 | ||||
| -rw-r--r-- | drivers/usb/dwc2/gadget.c | 6 | ||||
| -rw-r--r-- | drivers/usb/dwc2/hcd.c | 4 | ||||
| -rw-r--r-- | drivers/usb/dwc2/hcd_ddma.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/drivers/usb/dwc2/core.c b/drivers/usb/dwc2/core.c index f375c5185bfe..6a0135e06b00 100644 --- a/drivers/usb/dwc2/core.c +++ b/drivers/usb/dwc2/core.c @@ -173,7 +173,7 @@ static void dwc2_restore_essential_regs(struct dwc2_hsotg *hsotg, int rmode, /* Umnask global Interrupt in GAHBCFG and restore it */ dwc2_writel(hsotg, gr->gahbcfg | GAHBCFG_GLBL_INTR_EN, GAHBCFG); - /* Clear all pending interupts */ + /* Clear all pending interrupts */ dwc2_writel(hsotg, 0xffffffff, GINTSTS); /* Unmask restore done interrupt */ diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index 767251aa1aa3..015a5fb7842d 100644 --- a/drivers/usb/dwc2/core.h +++ b/drivers/usb/dwc2/core.h @@ -334,7 +334,7 @@ enum dwc2_ep0_state { * (default when phy_type is Full Speed) * @oc_disable: Flag to disable overcurrent condition. * 0 - Allow overcurrent condition to get detected - * 1 - Disable overcurrent condtion to get detected + * 1 - Disable overcurrent condition to get detected * @ts_dline: Enable Term Select Dline pulsing * 0 - No (default) * 1 - Yes diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index b3976876c06b..6c8a9f05fff0 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -658,7 +658,7 @@ static int dwc2_hsotg_write_fifo(struct dwc2_hsotg *hsotg, } /** - * get_ep_limit - get the maximum data legnth for this endpoint + * get_ep_limit - get the maximum data length for this endpoint * @hs_ep: The endpoint * * Return the maximum data that can be queued in one go on a given endpoint @@ -5563,7 +5563,7 @@ int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, dwc2_hib_restore_common(hsotg, rem_wakeup, 0); if (!reset) { - /* Clear all pending interupts */ + /* Clear all pending interrupts */ dwc2_writel(hsotg, 0xffffffff, GINTSTS); } @@ -5612,7 +5612,7 @@ int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, } /* Wait for interrupts which must be cleared */ mdelay(2); - /* Clear all pending interupts */ + /* Clear all pending interrupts */ dwc2_writel(hsotg, 0xffffffff, GINTSTS); /* Restore global registers */ diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index 2414291aa908..32ce38c7096a 100644 --- a/drivers/usb/dwc2/hcd.c +++ b/drivers/usb/dwc2/hcd.c @@ -5656,7 +5656,7 @@ int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, */ mdelay(100); - /* Clear all pending interupts */ + /* Clear all pending interrupts */ dwc2_writel(hsotg, 0xffffffff, GINTSTS); /* De-assert Restore */ @@ -5726,7 +5726,7 @@ int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, hprt0 = dwc2_readl(hsotg, HPRT0); - /* Clear all pending interupts */ + /* Clear all pending interrupts */ dwc2_writel(hsotg, 0xffffffff, GINTSTS); /* Restore global registers */ diff --git a/drivers/usb/dwc2/hcd_ddma.c b/drivers/usb/dwc2/hcd_ddma.c index 994a78ad084b..703cda5a5895 100644 --- a/drivers/usb/dwc2/hcd_ddma.c +++ b/drivers/usb/dwc2/hcd_ddma.c @@ -963,7 +963,7 @@ static void dwc2_complete_isoc_xfer_ddma(struct dwc2_hsotg *hsotg, * whether some of the descriptors (frames) succeeded or not. * Pass error code to completion routine as well, to update * urb->status, some of class drivers might use it to stop - * queing transfer requests. + * queuing transfer requests. */ int err = halt_status == DWC2_HC_XFER_AHB_ERR ? -EIO : -EOVERFLOW; |
