* [PATCH 01/22] usb: atm: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 02/22] usb: cdns3: " Shunbo Shi
` (21 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/atm/ueagle-atm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c
index 61723e7ab351..d569ee93b493 100644
--- a/drivers/usb/atm/ueagle-atm.c
+++ b/drivers/usb/atm/ueagle-atm.c
@@ -2189,7 +2189,7 @@ static void uea_stop(struct uea_softc *sc)
release_firmware(sc->dsp_firm);
}
-/* syfs interface */
+/* sysfs interface */
static struct uea_softc *dev_to_uea(struct device *dev)
{
struct usb_interface *intf;
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 02/22] usb: cdns3: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
2026-11-10 6:40 ` [PATCH 01/22] usb: atm: fix a few " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 03/22] usb: chipidea: " Shunbo Shi
` (20 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/cdns3/cdns3-ep0.c | 4 ++--
drivers/usb/cdns3/cdns3-gadget.c | 6 +++---
drivers/usb/cdns3/drd.c | 2 +-
drivers/usb/cdns3/drd.h | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/cdns3/cdns3-ep0.c b/drivers/usb/cdns3/cdns3-ep0.c
index e29989d57bef..5d6d3616bfc6 100644
--- a/drivers/usb/cdns3/cdns3-ep0.c
+++ b/drivers/usb/cdns3/cdns3-ep0.c
@@ -643,7 +643,7 @@ void cdns3_check_ep0_interrupt_proceed(struct cdns3_device *priv_dev, int dir)
* @desc: pointer to usb endpoint descriptor
*
* Function shouldn't be called by gadget driver,
- * endpoint 0 is allways active
+ * endpoint 0 is always active
*/
static int cdns3_gadget_ep0_enable(struct usb_ep *ep,
const struct usb_endpoint_descriptor *desc)
@@ -656,7 +656,7 @@ static int cdns3_gadget_ep0_enable(struct usb_ep *ep,
* @ep: pointer to endpoint zero object
*
* Function shouldn't be called by gadget driver,
- * endpoint 0 is allways active
+ * endpoint 0 is always active
*/
static int cdns3_gadget_ep0_disable(struct usb_ep *ep)
{
diff --git a/drivers/usb/cdns3/cdns3-gadget.c b/drivers/usb/cdns3/cdns3-gadget.c
index f4dfd0131708..ba10ef9ea656 100644
--- a/drivers/usb/cdns3/cdns3-gadget.c
+++ b/drivers/usb/cdns3/cdns3-gadget.c
@@ -452,7 +452,7 @@ static void __cdns3_descmiss_copy_data(struct usb_request *request,
descmiss_req->actual);
request->actual = length;
} else {
- /* It should never occures */
+ /* It should never occurs */
request->status = -ENOMEM;
}
} else {
@@ -1062,7 +1062,7 @@ static int cdns3_ep_run_stream_transfer(struct cdns3_endpoint *priv_ep,
if (!(priv_ep->flags & EP_STALLED)) {
trace_cdns3_ring(priv_ep);
- /*clearing TRBERR and EP_STS_DESCMIS before seting DRDY*/
+ /*clearing TRBERR and EP_STS_DESCMIS before setting DRDY*/
writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts);
priv_ep->prime_flag = false;
@@ -1404,7 +1404,7 @@ static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep,
if (!priv_ep->wa1_set && !(priv_ep->flags & EP_STALLED)) {
trace_cdns3_ring(priv_ep);
- /*clearing TRBERR and EP_STS_DESCMIS before seting DRDY*/
+ /*clearing TRBERR and EP_STS_DESCMIS before setting DRDY*/
writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts);
writel(EP_CMD_DRDY, &priv_dev->regs->ep_cmd);
cdns3_rearm_drdy_if_needed(priv_ep);
diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c
index 42f13757d904..7465a2a4fb2d 100644
--- a/drivers/usb/cdns3/drd.c
+++ b/drivers/usb/cdns3/drd.c
@@ -58,7 +58,7 @@ static int cdns_set_mode(struct cdns *cdns, enum usb_dr_mode mode)
/*
* Enable work around feature built into the
* controller to address issue with RX Sensitivity
- * est (EL_17) for USB2 PHY. The issue only occures
+ * est (EL_17) for USB2 PHY. The issue only occurs
* for 0x0002450D controller version.
*/
if (cdns->phyrst_a_enable) {
diff --git a/drivers/usb/cdns3/drd.h b/drivers/usb/cdns3/drd.h
index 1e2aee14d629..0b134c1e5a49 100644
--- a/drivers/usb/cdns3/drd.h
+++ b/drivers/usb/cdns3/drd.h
@@ -160,11 +160,11 @@ struct cdns_otg_irq_regs {
* Value of the strap pins for:
* CDNS3:
* 000 - no default configuration
- * 010 - Controller initiall configured as Host
+ * 010 - Controller initially configured as Host
* 100 - Controller initially configured as Device
* CDNSP:
* 000 - No default configuration.
- * 010 - Controller initiall configured as Host.
+ * 010 - Controller initially configured as Host.
* 100 - Controller initially configured as Device.
*/
#define OTGSTS_STRAP(p) (((p) & GENMASK(14, 12)) >> 12)
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 03/22] usb: chipidea: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
2026-11-10 6:40 ` [PATCH 01/22] usb: atm: fix a few " Shunbo Shi
2026-11-10 6:40 ` [PATCH 02/22] usb: cdns3: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 04/22] usb: class: " Shunbo Shi
` (19 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/chipidea/core.c | 2 +-
drivers/usb/chipidea/udc.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 3461dd763a6e..e41ced53ac0c 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -642,7 +642,7 @@ static enum ci_role ci_get_role(struct ci_hdrc *ci)
} else {
/*
* If the controller is not OTG capable, but support
- * role switch, the defalt role is gadget, and the
+ * role switch, the default role is gadget, and the
* user can switch it through debugfs.
*/
role = CI_ROLE_GADGET;
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index c29b2d0dcc7c..827428aedba0 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -208,7 +208,7 @@ static int hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl)
if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num)))
return -EAGAIN;
- /* status shoult be tested according with manual but it doesn't work */
+ /* status should be tested according with manual but it doesn't work */
return 0;
}
@@ -271,7 +271,7 @@ static int hw_test_and_clear_complete(struct ci_hdrc *ci, int n)
* without interruption)
* @ci: the controller
*
- * This function returns active interrutps
+ * This function returns active interrupts
*/
static u32 hw_test_and_clear_intr_active(struct ci_hdrc *ci)
{
@@ -1242,7 +1242,7 @@ isr_setup_status_complete(struct usb_ep *ep, struct usb_request *req)
}
/**
- * isr_setup_status_phase: queues the status phase of a setup transation
+ * isr_setup_status_phase: queues the status phase of a setup transaction
* @ci: ci struct
*
* This function returns an error code
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 04/22] usb: class: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (2 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 03/22] usb: chipidea: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 05/22] usb: common: " Shunbo Shi
` (18 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/class/cdc-wdm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c
index 7556c0dac908..1745d9f51a1c 100644
--- a/drivers/usb/class/cdc-wdm.c
+++ b/drivers/usb/class/cdc-wdm.c
@@ -1189,7 +1189,7 @@ static int wdm_probe(struct usb_interface *intf, const struct usb_device_id *id)
*
* The subdriver will manage the given interrupt endpoint exclusively
* and will issue control requests referring to the given intf. It
- * will otherwise avoid interferring, and in particular not do
+ * will otherwise avoid interfering, and in particular not do
* usb_set_intfdata/usb_get_intfdata on intf.
*
* The return value is a pointer to the subdriver's struct usb_driver.
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 05/22] usb: common: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (3 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 04/22] usb: class: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 06/22] usb: core: " Shunbo Shi
` (17 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/common/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c
index fc0845f681be..450d13c6ca5f 100644
--- a/drivers/usb/common/common.c
+++ b/drivers/usb/common/common.c
@@ -285,7 +285,7 @@ EXPORT_SYMBOL_GPL(usb_decode_interval);
*
* In dts a usb controller associates with phy devices. The function gets
* the string from property 'dr_mode' of the controller associated with the
- * given phy device node, and returns the correspondig enum usb_dr_mode.
+ * given phy device node, and returns the corresponding enum usb_dr_mode.
*/
enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0)
{
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 06/22] usb: core: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (4 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 05/22] usb: common: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 07/22] usb: dwc2: " Shunbo Shi
` (16 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/core/driver.c | 2 +-
drivers/usb/core/hub.c | 8 ++++----
drivers/usb/core/port.c | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index d3a61ebc6afb..fbbdcaed9bad 100644
--- a/drivers/usb/core/driver.c
+++ b/drivers/usb/core/driver.c
@@ -806,7 +806,7 @@ EXPORT_SYMBOL_GPL(usb_match_one_id);
* vendor-specific, and hence matching against a standard product
* class wouldn't work anyway. If you really want to use an
* interface-based match for such a device, create a match record
- * that also specifies the vendor ID. (Unforunately there isn't a
+ * that also specifies the vendor ID. (Unfortunately there isn't a
* standard macro for creating records like this.)
*
* Within those groups, remember that not all combinations are
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 199d3f535a89..9478b23e506d 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -215,7 +215,7 @@ int usb_device_supports_lpm(struct usb_device *udev)
}
/*
- * Set the Maximum Exit Latency (MEL) for the host to wakup up the path from
+ * Set the Maximum Exit Latency (MEL) for the host to wakeup up the path from
* U1/U2, send a PING to the device and receive a PING_RESPONSE.
* See USB 3.1 section C.1.5.2
*/
@@ -4284,7 +4284,7 @@ static int usb_set_lpm_timeout(struct usb_device *udev,
}
/*
- * Don't allow device intiated U1/U2 if device isn't in the configured state,
+ * Don't allow device initiated U1/U2 if device isn't in the configured state,
* or the system exit latency + one bus interval is greater than the minimum
* service interval of any active periodic endpoint. See USB 3.2 section 9.4.9
*/
@@ -6395,10 +6395,10 @@ int usb_reset_device(struct usb_device *udev)
* Don't allocate memory with GFP_KERNEL in current
* context to avoid possible deadlock if usb mass
* storage interface or usbnet interface(iSCSI case)
- * is included in current configuration. The easist
+ * is included in current configuration. The easiest
* approach is to do it for every device reset,
* because the device 'memalloc_noio' flag may have
- * not been set before reseting the usb device.
+ * not been set before resetting the usb device.
*/
noio_flag = memalloc_noio_save();
diff --git a/drivers/usb/core/port.c b/drivers/usb/core/port.c
index b4452b665f59..33710e99e595 100644
--- a/drivers/usb/core/port.c
+++ b/drivers/usb/core/port.c
@@ -812,7 +812,7 @@ int usb_hub_create_port_device(struct usb_hub *hub, int port1)
find_and_link_peer(hub, port1);
/*
- * Enable runtime pm and hold a refernce that hub_configure()
+ * Enable runtime pm and hold a reference that hub_configure()
* will drop once the PM_QOS_NO_POWER_OFF flag state has been set
* and the hub has been fully registered (hdev->maxchild set).
*/
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 07/22] usb: dwc2: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (5 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 06/22] usb: core: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 08/22] usb: dwc3: " Shunbo Shi
` (15 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/dwc2/core.c | 4 ++--
drivers/usb/dwc2/core.h | 2 +-
drivers/usb/dwc2/gadget.c | 6 +++---
drivers/usb/dwc2/hcd.c | 8 ++++----
drivers/usb/dwc2/hcd.h | 2 +-
drivers/usb/dwc2/hcd_ddma.c | 2 +-
drivers/usb/dwc2/hcd_queue.c | 2 +-
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/usb/dwc2/core.c b/drivers/usb/dwc2/core.c
index 6a0135e06b00..7b98c3e1338a 100644
--- a/drivers/usb/dwc2/core.c
+++ b/drivers/usb/dwc2/core.c
@@ -113,7 +113,7 @@ int dwc2_exit_partial_power_down(struct dwc2_hsotg *hsotg, int rem_wakeup,
gr = &hsotg->gr_backup;
/*
- * Restore host or device regisers with the same mode core enterted
+ * Restore host or device registers with the same mode core enterted
* to partial power down by checking "GOTGCTL_CURMODE_HOST" backup
* value of the "gotgctl" register.
*/
@@ -138,7 +138,7 @@ int dwc2_enter_partial_power_down(struct dwc2_hsotg *hsotg)
}
/**
- * dwc2_restore_essential_regs() - Restore essiential regs of core.
+ * dwc2_restore_essential_regs() - Restore essential regs of core.
*
* @hsotg: Programming view of the DWC_otg controller
* @rmode: Restore mode, enabled in case of remote-wakeup.
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index 015a5fb7842d..57f5b8180a32 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -1006,7 +1006,7 @@ struct dwc2_hregs_backup {
* @driver: USB gadget driver
* @dedicated_fifos: Set if the hardware has dedicated IN-EP fifos.
* @num_of_eps: Number of available EPs (excluding EP0)
- * @debug_root: Root directrory for debugfs.
+ * @debug_root: Root directory for debugfs.
* @ep0_reply: Request used for ep0 reply.
* @ep0_buff: Buffer for EP0 reply data, if needed.
* @ctrl_buff: Buffer for EP0 control requests.
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index 6c8a9f05fff0..1eebe14ea68b 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
@@ -2835,7 +2835,7 @@ static void dwc2_hsotg_complete_in(struct dwc2_hsotg *hsotg,
* @dir_in: Endpoint direction 1-in 0-out.
*
* Reads for endpoint with given index and direction, by masking
- * epint_reg with coresponding mask.
+ * epint_reg with corresponding mask.
*/
static u32 dwc2_gadget_read_ep_interrupts(struct dwc2_hsotg *hsotg,
unsigned int idx, int dir_in)
@@ -4073,7 +4073,7 @@ static void dwc2_hsotg_ep_stop_xfr(struct dwc2_hsotg *hsotg,
/**
* dwc2_hsotg_ep_enable - enable the given endpoint
- * @ep: The USB endpint to configure
+ * @ep: The USB endpoint to configure
* @desc: The USB endpoint descriptor to configure with.
*
* This is called from the USB gadget code's usb_ep_enable().
@@ -4657,7 +4657,7 @@ static int dwc2_hsotg_udc_start(struct usb_gadget *gadget,
* dwc2_hsotg_udc_stop - stop the udc
* @gadget: The usb gadget state
*
- * Stop udc hw block and stay tunned for future transmissions
+ * Stop udc hw block and stay tuned for future transmissions
*/
static int dwc2_hsotg_udc_stop(struct usb_gadget *gadget)
{
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
index d5275cd658d4..fd2c0a8a4d30 100644
--- a/drivers/usb/dwc2/hcd.c
+++ b/drivers/usb/dwc2/hcd.c
@@ -34,7 +34,7 @@
*/
/**
- * dwc2_enable_common_interrupts() - Initializes the commmon interrupts,
+ * dwc2_enable_common_interrupts() - Initializes the common interrupts,
* used in both device and host modes
*
* @hsotg: Programming view of the DWC_otg controller
@@ -749,7 +749,7 @@ static void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan)
*
* In slave mode, checks for a free request queue entry, then sets the Channel
* Enable and Channel Disable bits of the Host Channel Characteristics
- * register of the specified channel to intiate the halt. If there is no free
+ * register of the specified channel to initiate the halt. If there is no free
* request queue entry, sets only the Channel Disable bit of the HCCHARn
* register to flush requests for this channel. In the latter case, sets a
* flag to indicate that the host channel needs to be halted when a request
@@ -5882,7 +5882,7 @@ int dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg,
udelay(5);
if (!rem_wakeup) {
- /* Stop driveing resume signaling on the port. */
+ /* Stop driving resume signaling on the port. */
hprt0 = dwc2_read_hprt0(hsotg);
hprt0 &= ~HPRT0_RES;
dwc2_writel(hsotg, hprt0, HPRT0);
@@ -5982,7 +5982,7 @@ void dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup)
/* In case of port resume need to wait for 40 ms */
msleep(USB_RESUME_TIMEOUT);
- /* Stop driveing resume signaling on the port. */
+ /* Stop driving resume signaling on the port. */
hprt0 = dwc2_read_hprt0(hsotg);
hprt0 &= ~HPRT0_RES;
dwc2_writel(hsotg, hprt0, HPRT0);
diff --git a/drivers/usb/dwc2/hcd.h b/drivers/usb/dwc2/hcd.h
index b7254d94fdc3..656acd2f03bd 100644
--- a/drivers/usb/dwc2/hcd.h
+++ b/drivers/usb/dwc2/hcd.h
@@ -10,7 +10,7 @@
/*
* This file contains the structures, constants, and interfaces for the
- * Host Contoller Driver (HCD)
+ * Host Controller Driver (HCD)
*
* The Host Controller Driver (HCD) is responsible for translating requests
* from the USB Driver into the appropriate actions on the DWC_otg controller.
diff --git a/drivers/usb/dwc2/hcd_ddma.c b/drivers/usb/dwc2/hcd_ddma.c
index 703cda5a5895..bdeb2943c4a5 100644
--- a/drivers/usb/dwc2/hcd_ddma.c
+++ b/drivers/usb/dwc2/hcd_ddma.c
@@ -415,7 +415,7 @@ static u16 dwc2_calc_starting_frame(struct dwc2_hsotg *hsotg,
* Current frame is 1, scheduled frame is 3. Since HC always fetches
* the descriptor corresponding to curr_frame+1, the descriptor
* corresponding to frame 2 will be fetched. If the number of
- * descriptors is max=64 (or greather) the list will be fully programmed
+ * descriptors is max=64 (or greater) the list will be fully programmed
* with Active descriptors and it is possible case (rare) that the
* latest descriptor(considering rollback) corresponding to frame 2 will
* be serviced first. HS case is more probable because, in fact, up to
diff --git a/drivers/usb/dwc2/hcd_queue.c b/drivers/usb/dwc2/hcd_queue.c
index 4f00ff1dc3e1..68e50b94e99f 100644
--- a/drivers/usb/dwc2/hcd_queue.c
+++ b/drivers/usb/dwc2/hcd_queue.c
@@ -1006,7 +1006,7 @@ static void dwc2_uframe_unschedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
* dwc2_pick_first_frame() - Choose 1st frame for qh that's already scheduled
*
* Takes a qh that has already been scheduled (which means we know we have the
- * bandwdith reserved for us) and set the next_active_frame and the
+ * bandwidth reserved for us) and set the next_active_frame and the
* start_active_frame.
*
* This is expected to be called on qh's that weren't previously actively
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 08/22] usb: dwc3: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (6 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 07/22] usb: dwc2: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 09/22] usb: fotg210: " Shunbo Shi
` (14 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/dwc3/core.h | 4 ++--
drivers/usb/dwc3/glue.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index f3dabb37f806..ba38a3fb9436 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -1014,7 +1014,7 @@ struct dwc3_glue_ops {
* @err_recovery_work: workqueue used for controller error recovery
* @ep0_trb: trb which is used for the ctrl_req
* @bounce: address of bounce buffer
- * @setup_buf: used while precessing STD USB requests
+ * @setup_buf: used while processing STD USB requests
* @ep0_trb_addr: dma address of @ep0_trb
* @bounce_addr: dma address of @bounce
* @ep0_usb_req: dummy req used while handling STD USB requests
@@ -1161,7 +1161,7 @@ struct dwc3_glue_ops {
* check during HS transmit.
* @resume_hs_terminations: Set if we enable quirk for fixing improper crc
* generation after resume from suspend.
- * @ulpi_ext_vbus_drv: Set to confiure the upli chip to drives CPEN pin
+ * @ulpi_ext_vbus_drv: Set to configure the upli chip to drives CPEN pin
* VBUS with an external supply.
* @parkmode_disable_ss_quirk: set if we need to disable all SuperSpeed
* instances in park mode.
diff --git a/drivers/usb/dwc3/glue.h b/drivers/usb/dwc3/glue.h
index d738e1739ae0..a1284c481390 100644
--- a/drivers/usb/dwc3/glue.h
+++ b/drivers/usb/dwc3/glue.h
@@ -30,7 +30,7 @@ struct dwc3_properties {
* @res: resource for the DWC3 core mmio region
* @ignore_clocks_and_resets: clocks and resets defined for the device should
* be ignored by the DWC3 core, as they are managed by the glue
- * @skip_core_init_mode: Skip the finial initialization of the target mode, as
+ * @skip_core_init_mode: Skip the final initialization of the target mode, as
* it must be managed by the glue
* @properties: dwc3 software manage properties
*/
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 09/22] usb: fotg210: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (7 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 08/22] usb: dwc3: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 10/22] usb: gadget: " Shunbo Shi
` (13 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/fotg210/fotg210-udc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/fotg210/fotg210-udc.h b/drivers/usb/fotg210/fotg210-udc.h
index 11fe67802537..f64339fcc273 100644
--- a/drivers/usb/fotg210/fotg210-udc.h
+++ b/drivers/usb/fotg210/fotg210-udc.h
@@ -171,7 +171,7 @@
#define FIFOMAP_EPNO(ep) ((ep) << ((ep) - 1) * 8)
#define FIFOMAP_EPNOMSK(ep) (0xF << ((ep) - 1) * 8)
-/* Device FIFO Confuguration Register (0x1AC) */
+/* Device FIFO Configuration Register (0x1AC) */
#define FOTG210_FIFOCF 0x1AC
#define FIFOCF_TYPE(type, fifo) ((type) << (fifo) * 8)
#define FIFOCF_BLK_SIN(fifo) (0x0 << (fifo) * 8 << 2)
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 10/22] usb: gadget: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (8 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 09/22] usb: fotg210: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 11/22] usb: host: " Shunbo Shi
` (12 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/gadget/composite.c | 4 ++--
drivers/usb/gadget/epautoconf.c | 2 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/usb/gadget/function/f_ncm.c | 2 +-
drivers/usb/gadget/function/f_printer.c | 2 +-
drivers/usb/gadget/function/f_uac2.c | 4 ++--
drivers/usb/gadget/function/ndis.h | 2 +-
drivers/usb/gadget/function/rndis.c | 2 +-
drivers/usb/gadget/function/storage_common.c | 2 +-
drivers/usb/gadget/function/u_audio.c | 2 +-
drivers/usb/gadget/legacy/inode.c | 2 +-
drivers/usb/gadget/udc/aspeed-vhub/ep0.c | 2 +-
drivers/usb/gadget/udc/aspeed-vhub/hub.c | 2 +-
drivers/usb/gadget/udc/bdc/bdc.h | 6 +++---
drivers/usb/gadget/udc/bdc/bdc_cmd.c | 2 +-
drivers/usb/gadget/udc/bdc/bdc_core.c | 4 ++--
drivers/usb/gadget/udc/bdc/bdc_ep.c | 10 +++++-----
drivers/usb/gadget/udc/cdns2/cdns2-ep0.c | 4 ++--
drivers/usb/gadget/udc/cdns2/cdns2-gadget.h | 4 ++--
drivers/usb/gadget/udc/core.c | 4 ++--
drivers/usb/gadget/udc/fsl_qe_udc.h | 2 +-
drivers/usb/gadget/udc/fsl_udc_core.c | 10 +++++-----
drivers/usb/gadget/udc/gr_udc.c | 2 +-
drivers/usb/gadget/udc/m66592-udc.c | 2 +-
drivers/usb/gadget/udc/net2280.c | 2 +-
drivers/usb/gadget/udc/pch_udc.c | 20 ++++++++++----------
drivers/usb/gadget/udc/pxa27x_udc.c | 12 ++++++------
drivers/usb/gadget/udc/r8a66597-udc.c | 2 +-
drivers/usb/gadget/udc/renesas_usbf.c | 4 ++--
drivers/usb/gadget/udc/snps_udc_core.c | 6 +++---
drivers/usb/gadget/udc/snps_udc_plat.c | 2 +-
drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
drivers/usb/gadget/usbstring.c | 2 +-
33 files changed, 66 insertions(+), 66 deletions(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index 1b2238147cfe..4ec54414c927 100644
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/usb/gadget/composite.c
@@ -25,7 +25,7 @@
/**
* struct usb_os_string - represents OS String to be reported by a gadget
- * @bLength: total length of the entire descritor, always 0x12
+ * @bLength: total length of the entire descriptor, always 0x12
* @bDescriptorType: USB_DT_STRING
* @qwSignature: the OS String proper
* @bMS_VendorCode: code used by the host for subsequent requests
@@ -1556,7 +1556,7 @@ static void composite_setup_complete(struct usb_ep *ep, struct usb_request *req)
req->status, req->actual, req->length);
/*
- * REVIST The same ep0 requests are shared with function drivers
+ * REVISIT The same ep0 requests are shared with function drivers
* so they don't have to maintain the same ->complete() stubs.
*
* Because of that, we need to check for the validity of ->context
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
index 30016b805bfd..8013bf6be6dd 100644
--- a/drivers/usb/gadget/epautoconf.c
+++ b/drivers/usb/gadget/epautoconf.c
@@ -29,7 +29,7 @@
* supports a different number of streams.
*
* This routine replaces the usb_ep_autoconfig when needed
- * superspeed enhancments. If such enhancemnets are required,
+ * superspeed enhancements. If such enhancemnets are required,
* the FD should call usb_ep_autoconfig_ss directly and provide
* the additional ep_comp parameter.
*
diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c
index 3c6b43d06a6d..cf54704b7655 100644
--- a/drivers/usb/gadget/function/f_hid.c
+++ b/drivers/usb/gadget/function/f_hid.c
@@ -618,7 +618,7 @@ static void get_report_workqueue_handler(struct work_struct *work)
*/
req->buf = ptr->report_data.data;
} else {
- /* If there are no prevoiusly sent reports send empty report */
+ /* If there are no previously sent reports send empty report */
req->buf = hidg->get_report.data;
memset(req->buf, 0x0, req->length);
}
diff --git a/drivers/usb/gadget/function/f_ncm.c b/drivers/usb/gadget/function/f_ncm.c
index 500c9c19c78b..f15e1c809a7d 100644
--- a/drivers/usb/gadget/function/f_ncm.c
+++ b/drivers/usb/gadget/function/f_ncm.c
@@ -612,7 +612,7 @@ static void ncm_notify(struct f_ncm *ncm)
*
* If ncm_notify() is called before the second (CONNECT)
* notification is sent, then it will reset to send the SPEED
- * notificaion again (and again, and again), but it's not a problem
+ * notification again (and again, and again), but it's not a problem
*/
ncm->notify_state = NCM_NOTIFY_SPEED;
ncm_do_notify(ncm);
diff --git a/drivers/usb/gadget/function/f_printer.c b/drivers/usb/gadget/function/f_printer.c
index 1857d786110b..3f25d99be34d 100644
--- a/drivers/usb/gadget/function/f_printer.c
+++ b/drivers/usb/gadget/function/f_printer.c
@@ -557,7 +557,7 @@ printer_read(struct file *fd, char __user *buf, size_t len, loff_t *ptr)
/* If we not returning all the data left in this RX request
* buffer then adjust the amount of data left in the buffer.
- * Othewise if we are done with this RX request buffer then
+ * Otherwise if we are done with this RX request buffer then
* requeue it to get any incoming data from the USB host.
*/
if (size < current_rx_bytes) {
diff --git a/drivers/usb/gadget/function/f_uac2.c b/drivers/usb/gadget/function/f_uac2.c
index d8cf710085a0..f9ca07dec17e 100644
--- a/drivers/usb/gadget/function/f_uac2.c
+++ b/drivers/usb/gadget/function/f_uac2.c
@@ -206,7 +206,7 @@ static struct uac2_input_terminal_descriptor io_in_it_desc = {
.bmControls = cpu_to_le16(CONTROL_RDWR << COPY_CTRL),
};
-/* Ouput Terminal for USB_IN */
+/* Output Terminal for USB_IN */
static struct uac2_output_terminal_descriptor usb_in_ot_desc = {
.bLength = sizeof usb_in_ot_desc,
.bDescriptorType = USB_DT_CS_INTERFACE,
@@ -220,7 +220,7 @@ static struct uac2_output_terminal_descriptor usb_in_ot_desc = {
.bmControls = cpu_to_le16(CONTROL_RDWR << COPY_CTRL),
};
-/* Ouput Terminal for I/O-Out */
+/* Output Terminal for I/O-Out */
static struct uac2_output_terminal_descriptor io_out_ot_desc = {
.bLength = sizeof io_out_ot_desc,
.bDescriptorType = USB_DT_CS_INTERFACE,
diff --git a/drivers/usb/gadget/function/ndis.h b/drivers/usb/gadget/function/ndis.h
index a19f72dec0cd..16e87628d37b 100644
--- a/drivers/usb/gadget/function/ndis.h
+++ b/drivers/usb/gadget/function/ndis.h
@@ -4,7 +4,7 @@
* ntddndis.h modified by Benedikt Spranger <b.spranger@pengutronix.de>
*
* Thanks to the cygwin development team,
- * espacially to Casper S. Hornstrup <chorns@users.sourceforge.net>
+ * especially to Casper S. Hornstrup <chorns@users.sourceforge.net>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
diff --git a/drivers/usb/gadget/function/rndis.c b/drivers/usb/gadget/function/rndis.c
index a2fd239b7ad3..0d3f784dc945 100644
--- a/drivers/usb/gadget/function/rndis.c
+++ b/drivers/usb/gadget/function/rndis.c
@@ -731,7 +731,7 @@ static int rndis_keepalive_response(struct rndis_params *params,
/*
- * Device to Host Comunication
+ * Device to Host Communication
*/
static int rndis_indicate_status_msg(struct rndis_params *params, u32 status)
{
diff --git a/drivers/usb/gadget/function/storage_common.c b/drivers/usb/gadget/function/storage_common.c
index 75831f2c7abe..cc90e252925c 100644
--- a/drivers/usb/gadget/function/storage_common.c
+++ b/drivers/usb/gadget/function/storage_common.c
@@ -3,7 +3,7 @@
* storage_common.c -- Common definitions for mass storage functionality
*
* Copyright (C) 2003-2008 Alan Stern
- * Copyeight (C) 2009 Samsung Electronics
+ * Copyright (C) 2009 Samsung Electronics
* Author: Michal Nazarewicz (mina86@mina86.com)
*/
diff --git a/drivers/usb/gadget/function/u_audio.c b/drivers/usb/gadget/function/u_audio.c
index f0ee83abcebc..11d8a304a38e 100644
--- a/drivers/usb/gadget/function/u_audio.c
+++ b/drivers/usb/gadget/function/u_audio.c
@@ -129,7 +129,7 @@ static void u_audio_set_fback_frequency(enum usb_device_speed speed,
* in samples/microframe.
* Format is encoded in Q12.13 fitted into four bytes so that
* the binary point is located between the second and the third
- * byte fromat (that is Q16.16)
+ * byte format (that is Q16.16)
*
* ff = (freq << 16) / 8000
*
diff --git a/drivers/usb/gadget/legacy/inode.c b/drivers/usb/gadget/legacy/inode.c
index 7f6d8460152f..cc059a6ee262 100644
--- a/drivers/usb/gadget/legacy/inode.c
+++ b/drivers/usb/gadget/legacy/inode.c
@@ -2081,7 +2081,7 @@ static const struct file_operations ep0_operations = {
/* FIXME PAM etc could set this security policy without mount options
- * if epfiles inherited ownership and permissons from ep0 ...
+ * if epfiles inherited ownership and permissions from ep0 ...
*/
static unsigned default_uid;
diff --git a/drivers/usb/gadget/udc/aspeed-vhub/ep0.c b/drivers/usb/gadget/udc/aspeed-vhub/ep0.c
index e9aa74231760..6b363aa6f8bd 100644
--- a/drivers/usb/gadget/udc/aspeed-vhub/ep0.c
+++ b/drivers/usb/gadget/udc/aspeed-vhub/ep0.c
@@ -365,7 +365,7 @@ static int ast_vhub_ep0_queue(struct usb_ep* u_ep, struct usb_request *u_req,
struct device *dev = &vhub->pdev->dev;
unsigned long flags;
- /* Paranoid cheks */
+ /* Paranoid checks */
if (!u_req || (!u_req->complete && !req->internal)) {
dev_warn(dev, "Bogus EP0 request ! u_req=%p\n", u_req);
if (u_req) {
diff --git a/drivers/usb/gadget/udc/aspeed-vhub/hub.c b/drivers/usb/gadget/udc/aspeed-vhub/hub.c
index d0345f31037a..5a9accd8fb53 100644
--- a/drivers/usb/gadget/udc/aspeed-vhub/hub.c
+++ b/drivers/usb/gadget/udc/aspeed-vhub/hub.c
@@ -551,7 +551,7 @@ void ast_vhub_device_connect(struct ast_vhub *vhub,
0, true);
/*
- * If the hub is set to wakup the host on connection events
+ * If the hub is set to wakeup the host on connection events
* then send a wakeup.
*/
if (vhub->wakeup_en)
diff --git a/drivers/usb/gadget/udc/bdc/bdc.h b/drivers/usb/gadget/udc/bdc/bdc.h
index 2f4abf6f8f77..d967bd5bd625 100644
--- a/drivers/usb/gadget/udc/bdc/bdc.h
+++ b/drivers/usb/gadget/udc/bdc/bdc.h
@@ -361,13 +361,13 @@ struct bdc_ep {
/* endpoint bd list*/
struct bd_list bd_list;
/*
- * HW generates extra event for multi bd tranfers, this flag helps in
+ * HW generates extra event for multi bd transfers, this flag helps in
* ignoring the extra event
*/
bool ignore_next_sr;
};
-/* bdc cmmand parameter structure */
+/* bdc command parameter structure */
struct bdc_cmd_params {
u32 param2;
u32 param1;
@@ -414,7 +414,7 @@ struct bdc {
/* num of endpoints for a particular instantiation of IP */
unsigned int num_eps;
/*
- * Array of ep's, it uses the same index covention as bdc hw i.e.
+ * Array of ep's, it uses the same index convention as bdc hw i.e.
* 1 for ep0, 2 for 1out,3 for 1in ....
*/
struct bdc_ep **bdc_ep_array;
diff --git a/drivers/usb/gadget/udc/bdc/bdc_cmd.c b/drivers/usb/gadget/udc/bdc/bdc_cmd.c
index 1848ced073f8..831b0e252a2b 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_cmd.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_cmd.c
@@ -116,7 +116,7 @@ int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep)
return bdc_submit_cmd(bdc, cmd_sc, 0, 0, 0);
}
-/* Reinitalize the bdlist after config ep command */
+/* Reinitialize the bdlist after config ep command */
static void ep_bd_list_reinit(struct bdc_ep *ep)
{
struct bdc *bdc = ep->bdc;
diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
index a8dbaef54aba..cd16b6010edd 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_core.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_core.c
@@ -296,7 +296,7 @@ static void bdc_mem_init(struct bdc *bdc, bool reinit)
for (i = 1; i < bdc->num_eps; ++i)
bdc->bdc_ep_array[i]->flags = 0;
} else {
- /* One time initiaization only */
+ /* One time initialization only */
/* Enable status report function pointers */
bdc->sr_handler[0] = bdc_sr_xsf;
bdc->sr_handler[1] = bdc_sr_uspc;
@@ -361,7 +361,7 @@ int bdc_reinit(struct bdc *bdc)
return ret;
}
-/* Allocate all the dyanmic memory */
+/* Allocate all the dynamic memory */
static int bdc_mem_alloc(struct bdc *bdc)
{
u32 page_size;
diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.c b/drivers/usb/gadget/udc/bdc/bdc_ep.c
index a7a22e5ec47b..039941009f1a 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_ep.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_ep.c
@@ -198,7 +198,7 @@ static inline int bd_needed_req(struct bdc_req *req)
if (req->usb_req.length == 0)
return 1;
- /* remaining bytes after tranfering all max BD size BD's */
+ /* remaining bytes after transferring all max BD size BD's */
remaining = req->usb_req.length % BD_MAX_BUFF_SIZE;
if (remaining)
bd_needed++;
@@ -298,8 +298,8 @@ static int bd_available_ep(struct bdc_ep *ep)
return bd_list->max_bdi - bd_list->num_tabs;
/*
- * Depending upon where eqp and dqp pointers are, caculate number
- * of avaialble bd's
+ * Depending upon where eqp and dqp pointers are, calculate number
+ * of available bd's
*/
if (bd_list->hwd_bdi < bd_list->eqp_bdi) {
/* available bd's are from eqp..max_bds + 0..dqp - chain_bds */
@@ -519,7 +519,7 @@ static int bdc_queue_xfr(struct bdc *bdc, struct bdc_req *req)
num_bds = bd_needed_req(req);
bd_available = bd_available_ep(ep);
- /* how many bd's are avaialble on ep */
+ /* how many bd's are available on ep */
if (num_bds > bd_available)
return -ENOMEM;
@@ -1093,7 +1093,7 @@ static void ep0_stall(struct bdc *bdc)
bdc->delayed_status = false;
ep_set_halt(ep, 1);
- /* de-queue any pendig requests */
+ /* de-queue any pending requests */
while (!list_empty(&ep->queue)) {
req = list_entry(ep->queue.next, struct bdc_req,
queue);
diff --git a/drivers/usb/gadget/udc/cdns2/cdns2-ep0.c b/drivers/usb/gadget/udc/cdns2/cdns2-ep0.c
index a5a9d395fd0d..802b7614ddea 100644
--- a/drivers/usb/gadget/udc/cdns2/cdns2-ep0.c
+++ b/drivers/usb/gadget/udc/cdns2/cdns2-ep0.c
@@ -495,7 +495,7 @@ void cdns2_handle_ep0_interrupt(struct cdns2_device *pdev, int dir)
/*
* Function shouldn't be called by gadget driver,
- * endpoint 0 is allways active.
+ * endpoint 0 is always active.
*/
static int cdns2_gadget_ep0_enable(struct usb_ep *ep,
const struct usb_endpoint_descriptor *desc)
@@ -505,7 +505,7 @@ static int cdns2_gadget_ep0_enable(struct usb_ep *ep,
/*
* Function shouldn't be called by gadget driver,
- * endpoint 0 is allways active.
+ * endpoint 0 is always active.
*/
static int cdns2_gadget_ep0_disable(struct usb_ep *ep)
{
diff --git a/drivers/usb/gadget/udc/cdns2/cdns2-gadget.h b/drivers/usb/gadget/udc/cdns2/cdns2-gadget.h
index b5d5ec12e986..2ef1dea605ae 100644
--- a/drivers/usb/gadget/udc/cdns2/cdns2-gadget.h
+++ b/drivers/usb/gadget/udc/cdns2/cdns2-gadget.h
@@ -540,8 +540,8 @@ struct cdns2_ring {
* @trb_burst_size: number of burst used in TRB.
* @skip: Sometimes the controller cannot process isochronous endpoint ring
* quickly enough and it will miss some isoc tds on the ring and
- * generate ISO transmition error.
- * Driver sets skip flag when receive a ISO transmition error and
+ * generate ISO transmission error.
+ * Driver sets skip flag when receive a ISO transmission error and
* process the missed TDs on the endpoint ring.
* @wa1_set: use WA1.
* @wa1_trb: TRB assigned to WA1.
diff --git a/drivers/usb/gadget/udc/core.c b/drivers/usb/gadget/udc/core.c
index d5844384c368..5ad5639a5ed1 100644
--- a/drivers/usb/gadget/udc/core.c
+++ b/drivers/usb/gadget/udc/core.c
@@ -1014,7 +1014,7 @@ EXPORT_SYMBOL_GPL(usb_gadget_giveback_request);
/* ------------------------------------------------------------------------- */
/**
- * gadget_find_ep_by_name - returns ep whose name is the same as sting passed
+ * gadget_find_ep_by_name - returns ep whose name is the same as string passed
* in second parameter or NULL if searched endpoint not found
* @g: controller to check for quirk
* @name: name of searched endpoint
@@ -1525,7 +1525,7 @@ EXPORT_SYMBOL_GPL(usb_add_gadget_udc_release);
/**
* usb_get_gadget_udc_name - get the name of the first UDC controller
* This functions returns the name of the first UDC controller in the system.
- * Please note that this interface is usefull only for legacy drivers which
+ * Please note that this interface is useful only for legacy drivers which
* assume that there is only one UDC controller in the system and they need to
* get its name before initialization. There is no guarantee that the UDC
* of the returned name will be still available, when gadget driver registers
diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.h b/drivers/usb/gadget/udc/fsl_qe_udc.h
index 53ca0ff7c2cb..902b0de88eca 100644
--- a/drivers/usb/gadget/udc/fsl_qe_udc.h
+++ b/drivers/usb/gadget/udc/fsl_qe_udc.h
@@ -213,7 +213,7 @@ struct qe_frame{
#define RX_ER_CRC 0x04000000 /* Received packet with CRC error */
#define RX_ER_OVERUN 0x02000000 /* Over-run occurred on reception */
#define RX_ER_PID 0x01000000 /* Wrong PID received */
-/* Tranmit side */
+/* Transmit side */
#define TX_ER_NAK 0x00800000 /* Received NAK handshake */
#define TX_ER_STALL 0x00400000 /* Received STALL handshake */
#define TX_ER_TIMEOUT 0x00200000 /* Transmit time out */
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c
index 878d70b55530..f8fd6fd327ec 100644
--- a/drivers/usb/gadget/udc/fsl_udc_core.c
+++ b/drivers/usb/gadget/udc/fsl_udc_core.c
@@ -472,7 +472,7 @@ static int dr_ep_get_stall(unsigned char ep_num, unsigned char dir)
********************************************************************/
/*------------------------------------------------------------------
-* struct_ep_qh_setup(): set the Endpoint Capabilites field of QH
+* struct_ep_qh_setup(): set the Endpoint Capabilities field of QH
* @zlt: Zero Length Termination Select (1: disable; 0: enable)
* @mult: Mult field
------------------------------------------------------------------*/
@@ -484,7 +484,7 @@ static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num,
struct ep_queue_head *p_QH = &udc->ep_qh[2 * ep_num + dir];
unsigned int tmp = 0;
- /* set the Endpoint Capabilites in QH */
+ /* set the Endpoint Capabilities in QH */
switch (ep_type) {
case USB_ENDPOINT_XFER_CONTROL:
/* Interrupt On Setup (IOS). for control ep */
@@ -594,7 +594,7 @@ static int fsl_ep_enable(struct usb_ep *_ep,
ep->stopped = 0;
/* Controller related setup */
- /* Init EPx Queue Head (Ep Capabilites field in QH
+ /* Init EPx Queue Head (Ep Capabilities field in QH
* according to max, zlt, mult) */
struct_ep_qh_setup(udc, (unsigned char) ep_index(ep),
(unsigned char) ((desc->bEndpointAddress & USB_DIR_IN)
@@ -1398,7 +1398,7 @@ __acquires(udc->lock)
udc_reset_ep_queue(udc, 0);
- /* We process some stardard setup requests here */
+ /* We process some standard setup requests here */
switch (setup->bRequest) {
case USB_REQ_GET_STATUS:
/* Data+Status phase from udc */
@@ -1831,7 +1831,7 @@ static void reset_irq(struct fsl_udc *udc)
if (fsl_readl(&dr_regs->portsc1) & PORTSCX_PORT_RESET) {
dev_vdbg(udc->dev, "Bus reset\n");
- /* Bus is reseting */
+ /* Bus is resetting */
udc->bus_reset = 1;
/* Reset all the queues, include XD, dTD, EP queue
* head and TR Queue */
diff --git a/drivers/usb/gadget/udc/gr_udc.c b/drivers/usb/gadget/udc/gr_udc.c
index cdcbfae140e9..4426caa999a8 100644
--- a/drivers/usb/gadget/udc/gr_udc.c
+++ b/drivers/usb/gadget/udc/gr_udc.c
@@ -470,7 +470,7 @@ static int gr_add_dma_desc(struct gr_ep *ep, struct gr_request *req,
* The first descriptor in the chain is enabled, the rest disabled. The
* interrupt handler will later enable them one by one when needed so we can
* find out when the transfer is finished. For OUT endpoints, all descriptors
- * therefore generate interrutps.
+ * therefore generate interrupts.
*/
static int gr_setup_out_desc_list(struct gr_ep *ep, struct gr_request *req,
gfp_t gfp_flags)
diff --git a/drivers/usb/gadget/udc/m66592-udc.c b/drivers/usb/gadget/udc/m66592-udc.c
index d77c11c4eb38..18578975b1df 100644
--- a/drivers/usb/gadget/udc/m66592-udc.c
+++ b/drivers/usb/gadget/udc/m66592-udc.c
@@ -599,7 +599,7 @@ static void init_controller(struct m66592 *m66592)
m66592_bclr(m66592, M66592_DPRPU, M66592_SYSCFG);
m66592_bset(m66592, M66592_USBE, M66592_SYSCFG);
- /* This is a workaound for SH7722 2nd cut */
+ /* This is a workaround for SH7722 2nd cut */
m66592_bset(m66592, 0x8000, M66592_DVSTCTR);
m66592_bset(m66592, 0x1000, M66592_TESTMODE);
m66592_bclr(m66592, 0x8000, M66592_DVSTCTR);
diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c
index 7c5f30cfd24d..0438bfed445f 100644
--- a/drivers/usb/gadget/udc/net2280.c
+++ b/drivers/usb/gadget/udc/net2280.c
@@ -1938,7 +1938,7 @@ static void defect7374_disable_data_eps(struct net2280 *dev)
/*
* For Defect 7374, disable data EPs (and more):
* - This phase undoes the earlier phase of the Defect 7374 workaround,
- * returing ep regs back to normal.
+ * returning ep regs back to normal.
*/
struct net2280_ep *ep;
int i;
diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c
index 99b3ce28210f..abcf3dbca29f 100644
--- a/drivers/usb/gadget/udc/pch_udc.c
+++ b/drivers/usb/gadget/udc/pch_udc.c
@@ -53,7 +53,7 @@
#define UDC_EPCTL_F (1 << 1)
#define UDC_EPCTL_S (1 << 0)
#define UDC_EPCTL_ET_SHIFT 4
-/* Mask patern */
+/* Mask pattern */
#define UDC_EPCTL_ET_MASK 0x00000030
/* Value for ET field */
#define UDC_EPCTL_ET_CONTROL 0
@@ -73,7 +73,7 @@
#define UDC_EPSTS_BNA (1 << 7)
#define UDC_EPSTS_IN (1 << 6)
#define UDC_EPSTS_OUT_SHIFT 4
-/* Mask patern */
+/* Mask pattern */
#define UDC_EPSTS_OUT_MASK 0x00000030
#define UDC_EPSTS_ALL_CLR_MASK 0x1F0006F0
/* Value for OUT field */
@@ -110,7 +110,7 @@
#define UDC_DEVSTS_ALT_SHIFT 8
#define UDC_DEVSTS_INTF_SHIFT 4
#define UDC_DEVSTS_CFG_SHIFT 0
-/* Mask patern */
+/* Mask pattern */
#define UDC_DEVSTS_TS_MASK 0xfffc0000
#define UDC_DEVSTS_ENUM_SPEED_MASK 0x00006000
#define UDC_DEVSTS_ALT_MASK 0x00000f00
@@ -132,7 +132,7 @@
#define UDC_DEVINT_ES (1 << 2)
#define UDC_DEVINT_SI (1 << 1)
#define UDC_DEVINT_SC (1 << 0)
-/* Mask patern */
+/* Mask pattern */
#define UDC_DEVINT_MSK 0x7f
/* Endpoint irq register */
@@ -141,7 +141,7 @@
#define UDC_EPINT_OUT_SHIFT 16
#define UDC_EPINT_IN_EP0 (1 << 0)
#define UDC_EPINT_OUT_EP0 (1 << 16)
-/* Mask patern */
+/* Mask pattern */
#define UDC_EPINT_MSK_DISABLE_ALL 0xffffffff
/* UDC_CSR_BUSY Status register */
@@ -162,7 +162,7 @@
#define UDC_CSR_NE_INTF_SHIFT 11
#define UDC_CSR_NE_ALT_SHIFT 15
#define UDC_CSR_NE_MAX_PKT_SHIFT 19
-/* Mask patern */
+/* Mask pattern */
#define UDC_CSR_NE_NUM_MASK 0x0000000f
#define UDC_CSR_NE_DIR_MASK 0x00000010
#define UDC_CSR_NE_TYPE_MASK 0x00000060
@@ -296,7 +296,7 @@ struct pch_udc_ep {
};
/**
- * struct pch_vbus_gpio_data - Structure holding GPIO informaton
+ * struct pch_vbus_gpio_data - Structure holding GPIO information
* for detecting VBUS
* @port: gpio descriptor for the VBUS GPIO
* @intr: gpio interrupt number
@@ -319,7 +319,7 @@ struct pch_vbus_gpio_data {
* @ep: array of endpoints
* @lock: protects all state
* @stall: stall requested
- * @prot_stall: protcol stall requested
+ * @prot_stall: protocol stall requested
* @suspended: driver in suspended state
* @connected: gadget driver associated
* @vbus_session: required vbus_session state
@@ -332,7 +332,7 @@ struct pch_vbus_gpio_data {
* @base_addr: for mapped device memory
* @bar: PCI BAR used for mapped device memory
* @cfg_data: current cfg, intf, and alt in use
- * @vbus_gpio: GPIO informaton for detecting VBUS
+ * @vbus_gpio: GPIO information for detecting VBUS
*/
struct pch_udc_dev {
struct usb_gadget gadget;
@@ -846,7 +846,7 @@ static inline u32 pch_udc_read_ep_interrupts(struct pch_udc_dev *dev)
}
/**
- * pch_udc_write_ep_interrupts() - Clear endpoint interupts
+ * pch_udc_write_ep_interrupts() - Clear endpoint interrupts
* @dev: Reference to structure of type pch_udc_regs
* @val: The value to be written to interrupt register
*/
diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c
index df5cca43afbe..9fd079cb65c6 100644
--- a/drivers/usb/gadget/udc/pxa27x_udc.c
+++ b/drivers/usb/gadget/udc/pxa27x_udc.c
@@ -1037,7 +1037,7 @@ static int write_ep0_fifo(struct pxa_ep *ep, struct pxa27x_request *req)
* special case of ep0 setup :
* (irq->handle_ep0_ctrl_req->gadget_setup->pxa_ep_queue)
*
- * Returns 0 if succedeed, error otherwise
+ * Returns 0 if succeeded, error otherwise
*/
static int pxa_ep_queue(struct usb_ep *_ep, struct usb_request *_req,
gfp_t gfp_flags)
@@ -1535,7 +1535,7 @@ static int pxa_udc_pullup(struct usb_gadget *_gadget, int is_active)
* @_gadget: usb gadget
* @is_active: 0 if should disable the udc, 1 if should enable
*
- * Enables the udc, and optionnaly activates D+ pullup resistor. Or disables the
+ * Enables the udc, and optionally activates D+ pullup resistor. Or disables the
* udc, and deactivates D+ pullup resistor.
*
* Returns 0
@@ -1943,7 +1943,7 @@ static void handle_ep0_ctrl_req(struct pxa_udc *udc,
* STAGE. The driver add STATUS STAGE to send last zero length packet in
* OUT_STATUS_STAGE.
* - special attention was needed for IN_STATUS_STAGE. If a packet complete
- * event is detected, we terminate the status stage without ackowledging the
+ * event is detected, we terminate the status stage without acknowledging the
* packet (not to risk to loose a potential SETUP packet)
*/
static void handle_ep0(struct pxa_udc *udc, int fifo_irq, int opc_irq)
@@ -2023,7 +2023,7 @@ static void handle_ep0(struct pxa_udc *udc, int fifo_irq, int opc_irq)
}
/**
- * handle_ep - Handle endpoint data tranfers
+ * handle_ep - Handle endpoint data transfers
* @ep: pxa physical endpoint
*
* Tries to transfer all pending request data into the endpoint and/or
@@ -2091,7 +2091,7 @@ static void handle_ep(struct pxa_ep *ep)
* @config: usb configuration
*
* Post the request to upper level.
- * Don't use any pxa specific harware configuration capabilities
+ * Don't use any pxa specific hardware configuration capabilities
*/
static void pxa27x_change_configuration(struct pxa_udc *udc, int config)
{
@@ -2121,7 +2121,7 @@ static void pxa27x_change_configuration(struct pxa_udc *udc, int config)
* @alt: alternate setting number
*
* Post the request to upper level.
- * Don't use any pxa specific harware configuration capabilities
+ * Don't use any pxa specific hardware configuration capabilities
*/
static void pxa27x_change_interface(struct pxa_udc *udc, int iface, int alt)
{
diff --git a/drivers/usb/gadget/udc/r8a66597-udc.c b/drivers/usb/gadget/udc/r8a66597-udc.c
index 915786c9628c..c7477eb4b2d4 100644
--- a/drivers/usb/gadget/udc/r8a66597-udc.c
+++ b/drivers/usb/gadget/udc/r8a66597-udc.c
@@ -652,7 +652,7 @@ static int sudmac_alloc_channel(struct r8a66597 *r8a66597,
change_bfre_mode(r8a66597, ep->pipenum, 1);
}
- /* set r8a66597_ep paramters */
+ /* set r8a66597_ep parameters */
ep->use_dma = 1;
ep->dma = dma;
ep->fifoaddr = D0FIFO;
diff --git a/drivers/usb/gadget/udc/renesas_usbf.c b/drivers/usb/gadget/udc/renesas_usbf.c
index 367c9e73f366..cb6b365ab17c 100644
--- a/drivers/usb/gadget/udc/renesas_usbf.c
+++ b/drivers/usb/gadget/udc/renesas_usbf.c
@@ -858,7 +858,7 @@ static int usbf_epn_dma_in(struct usbf_ep *epn, struct usbf_req *req)
usbf_ep_reg_bitset(epn, USBF_REG_EPN_CONTROL, USBF_EPN_AUTO);
/* The end of DMA transfer at the USBF level needs to be handle
- * after the detection of the end of DMA transfer at the brige
+ * after the detection of the end of DMA transfer at the bridge
* level.
* To force this sequence, EPN_IN_END_EN will be set by the
* detection of the end of transfer at bridge level (ie. bridge
@@ -1075,7 +1075,7 @@ static void usbf_epn_dma_out_send_dma(struct usbf_ep *epn, dma_addr_t addr, u32
USBF_EPN_SET_DMACNT(0));
/* The end of DMA transfer at the USBF level needs to be handled
- * after the detection of the end of DMA transfer at the brige
+ * after the detection of the end of DMA transfer at the bridge
* level.
* To force this sequence, enabling the OUT_END interrupt will
* be donee by the detection of the end of transfer at bridge
diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers/usb/gadget/udc/snps_udc_core.c
index d506f9d92bca..1cb29c1a0926 100644
--- a/drivers/usb/gadget/udc/snps_udc_core.c
+++ b/drivers/usb/gadget/udc/snps_udc_core.c
@@ -82,7 +82,7 @@ static int stop_timer;
* in the FIFO (important for not blocking control traffic).
* The value of set_rde controls the corresponding timer.
*
- * set_rde -1 == not used, means it is alloed to be set to 0 or 1
+ * set_rde -1 == not used, means it is allowed to be set to 0 or 1
* set_rde 0 == do not touch RDE, do no start the RDE timer
* set_rde 1 == timer function will look whether FIFO has data
* set_rde 2 == set by timer function to enable RX DMA on next call
@@ -1213,7 +1213,7 @@ udc_queue(struct usb_ep *usbep, struct usb_request *usbreq, gfp_t gfp)
DBG(dev, "udc_queue(): pending bytes in "
"rxfifo after nyet\n");
/*
- * read pending bytes afer nyet:
+ * read pending bytes after nyet:
* referring to isr
*/
if (udc_rxfifo_read(ep, req)) {
@@ -1328,7 +1328,7 @@ udc_set_halt(struct usb_ep *usbep, int halt)
else {
/*
* set STALL
- * rxfifo empty not taken into acount
+ * rxfifo empty not taken into account
*/
tmp = readl(&ep->regs->ctl);
tmp |= AMD_BIT(UDC_EPCTL_S);
diff --git a/drivers/usb/gadget/udc/snps_udc_plat.c b/drivers/usb/gadget/udc/snps_udc_plat.c
index 8ce43c4f8fba..a2350db814c3 100644
--- a/drivers/usb/gadget/udc/snps_udc_plat.c
+++ b/drivers/usb/gadget/udc/snps_udc_plat.c
@@ -36,7 +36,7 @@ static void stop_udc(struct udc *udc)
spin_lock(&udc->lock);
- /* Flush the receieve fifo */
+ /* Flush the receive fifo */
reg = readl(&udc->regs->ctl);
reg |= AMD_BIT(UDC_DEVCTL_SRX_FLUSH);
writel(reg, &udc->regs->ctl);
diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c
index bef06fe7543b..20fe241b4275 100644
--- a/drivers/usb/gadget/udc/udc-xilinx.c
+++ b/drivers/usb/gadget/udc/udc-xilinx.c
@@ -311,7 +311,7 @@ static void xudc_epconfig(struct xusb_ep *ep, struct xusb_udc *udc)
* Return: 0 on success, error code on failure
*
* This function starts DMA transfer by writing to DMA source,
- * destination and lenth registers.
+ * destination and length registers.
*/
static int xudc_start_dma(struct xusb_ep *ep, dma_addr_t src,
dma_addr_t dst, u32 length)
diff --git a/drivers/usb/gadget/usbstring.c b/drivers/usb/gadget/usbstring.c
index 37a2f1b61cba..51bf85f1e343 100644
--- a/drivers/usb/gadget/usbstring.c
+++ b/drivers/usb/gadget/usbstring.c
@@ -25,7 +25,7 @@
* string descriptor in utf16-le.
* Returns length of descriptor (always even) or negative errno
*
- * If your driver needs stings in multiple languages, you'll probably
+ * If your driver needs strings in multiple languages, you'll probably
* "switch (wIndex) { ... }" in your ep0 string descriptor logic,
* using this routine after choosing which set of UTF-8 strings to use.
* Note that US-ASCII is a strict subset of UTF-8; any string bytes with
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 11/22] usb: host: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (9 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 10/22] usb: gadget: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 12/22] usb: image: " Shunbo Shi
` (11 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/host/ehci-brcm.c | 2 +-
drivers/usb/host/ehci-sched.c | 2 +-
drivers/usb/host/fhci-q.c | 2 +-
drivers/usb/host/fhci-tds.c | 8 ++++----
drivers/usb/host/octeon-hcd.c | 2 +-
drivers/usb/host/ohci-q.c | 2 +-
drivers/usb/host/ohci-sa1111.c | 2 +-
drivers/usb/host/xhci-dbgcap.h | 2 +-
drivers/usb/host/xhci-mem.c | 4 ++--
drivers/usb/host/xhci-mtk.c | 2 +-
drivers/usb/host/xhci-mtk.h | 2 +-
drivers/usb/host/xhci-port.h | 4 ++--
drivers/usb/host/xhci-rcar.c | 2 +-
drivers/usb/host/xhci.h | 2 +-
14 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers/usb/host/ehci-brcm.c b/drivers/usb/host/ehci-brcm.c
index 5e3156f94cc6..d1f363c7d8d7 100644
--- a/drivers/usb/host/ehci-brcm.c
+++ b/drivers/usb/host/ehci-brcm.c
@@ -42,7 +42,7 @@ static inline void ehci_brcm_wait_for_sof(struct ehci_hcd *ehci, u32 delay)
* ehci_brcm_hub_control
* The EHCI controller has a bug where it can violate the SOF
* interval between the first two SOF's transmitted after resume
- * if the resume occurs near the end of the microframe. This causees
+ * if the resume occurs near the end of the microframe. This causes
* the controller to detect babble on the suspended port and
* will eventually cause the controller to reset the port.
* The fix is to Intercept the echi-hcd request to complete RESUME and
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
index 57d07d1c2dfa..ff59524f8d2b 100644
--- a/drivers/usb/host/ehci-sched.c
+++ b/drivers/usb/host/ehci-sched.c
@@ -315,7 +315,7 @@ static int __maybe_unused same_tt(struct usb_device *dev1,
static const unsigned char
max_tt_usecs[] = { 125, 125, 125, 125, 125, 125, 30, 0 };
-/* carryover low/fullspeed bandwidth that crosses uframe boundries */
+/* carryover low/fullspeed bandwidth that crosses uframe boundaries */
static inline void carryover_tt_bandwidth(unsigned short tt_usecs[8])
{
int i;
diff --git a/drivers/usb/host/fhci-q.c b/drivers/usb/host/fhci-q.c
index 669c240523fe..b13ad02454e1 100644
--- a/drivers/usb/host/fhci-q.c
+++ b/drivers/usb/host/fhci-q.c
@@ -208,7 +208,7 @@ void fhci_urb_complete_free(struct fhci_hcd *fhci, struct urb *urb)
}
/*
- * caculate transfer length/stats and update the urb
+ * calculate transfer length/stats and update the urb
* Precondition: irqsafe(only for urb-?status locking)
*/
void fhci_done_td(struct urb *urb, struct td *td)
diff --git a/drivers/usb/host/fhci-tds.c b/drivers/usb/host/fhci-tds.c
index d7482dc0604e..0ed1c0fcaaeb 100644
--- a/drivers/usb/host/fhci-tds.c
+++ b/drivers/usb/host/fhci-tds.c
@@ -234,9 +234,9 @@ u32 fhci_create_ep(struct fhci_usb *usb, enum fhci_mem_alloc data_mem,
/*
* initialize the endpoint register according to the given parameters
*
- * artuments:
- * usb A pointer to the data strucutre of the USB
- * ep A pointer to the endpoint structre
+ * arguments:
+ * usb A pointer to the data structure of the USB
+ * ep A pointer to the endpoint structure
* data_mem The data memory partition(BUS)
*/
void fhci_init_ep_registers(struct fhci_usb *usb, struct endpoint *ep,
@@ -367,7 +367,7 @@ static void fhci_td_transaction_confirm(struct fhci_usb *usb)
* Arguments:
* usb A pointer to the USB structure
* pkt A pointer to the user frame structure
- * trans_type Transaction tyep - IN,OUT or SETUP
+ * trans_type Transaction type - IN,OUT or SETUP
* dest_addr Device address - 0~127
* dest_ep Endpoint number of the device - 0~16
* trans_mode Pipe type - ISO,Interrupt,bulk or control
diff --git a/drivers/usb/host/octeon-hcd.c b/drivers/usb/host/octeon-hcd.c
index 4929c6a8e733..cf4175246978 100644
--- a/drivers/usb/host/octeon-hcd.c
+++ b/drivers/usb/host/octeon-hcd.c
@@ -2847,7 +2847,7 @@ static int cvmx_usb_poll_channel(struct octeon_hcd *usb, int channel)
if (WARN_ON_ONCE(bytes_this_transfer < 0)) {
/*
* In some rare cases the DMA engine seems to get stuck and
- * keeps substracting same byte count over and over again. In
+ * keeps subtracting same byte count over and over again. In
* such case we just need to fail every transaction.
*/
cvmx_usb_complete(usb, pipe, transaction,
diff --git a/drivers/usb/host/ohci-q.c b/drivers/usb/host/ohci-q.c
index 3b445312beea..21916f762b49 100644
--- a/drivers/usb/host/ohci-q.c
+++ b/drivers/usb/host/ohci-q.c
@@ -137,7 +137,7 @@ static int balance (struct ohci_hcd *ohci, int interval, int load)
/*-------------------------------------------------------------------------*/
/* both iso and interrupt requests have periods; this routine puts them
- * into the schedule tree in the apppropriate place. most iso devices use
+ * into the schedule tree in the appropriate place. most iso devices use
* 1msec periods, but that's not required.
*/
static void periodic_link (struct ohci_hcd *ohci, struct ed *ed)
diff --git a/drivers/usb/host/ohci-sa1111.c b/drivers/usb/host/ohci-sa1111.c
index aca0338a2983..5df8108b777f 100644
--- a/drivers/usb/host/ohci-sa1111.c
+++ b/drivers/usb/host/ohci-sa1111.c
@@ -183,7 +183,7 @@ static int ohci_hcd_sa1111_probe(struct sa1111_dev *dev)
/*
* We don't call dma_set_mask_and_coherent() here because the
- * DMA mask has already been appropraitely setup by the core
+ * DMA mask has already been appropriately setup by the core
* SA-1111 bus code (which includes bug workarounds.)
*/
diff --git a/drivers/usb/host/xhci-dbgcap.h b/drivers/usb/host/xhci-dbgcap.h
index 5b18efb2c1ea..32c26b42c583 100644
--- a/drivers/usb/host/xhci-dbgcap.h
+++ b/drivers/usb/host/xhci-dbgcap.h
@@ -78,7 +78,7 @@ struct dbc_str_descs {
/*
* NULL terminated UTF-8 strings used to create UTF-16 strings
- * (with maxiumum USB_MAX_STRING_LEN 2 byte characters).
+ * (with maximum USB_MAX_STRING_LEN 2 byte characters).
*/
struct dbc_str {
char manufacturer[USB_MAX_STRING_LEN+1];
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index af8d4b74c4ba..124eb6dc5774 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -1442,7 +1442,7 @@ int xhci_endpoint_init(struct xhci_hcd *xhci,
/*
* Get values to fill the endpoint context, mostly from ep descriptor.
- * The average TRB buffer lengt for bulk endpoints is unclear as we
+ * The average TRB buffer length for bulk endpoints is unclear as we
* have no clue on scatter gather list entry size. For Isoc and Int,
* set it to max available. See xHCI 1.1 spec 4.14.1.1 for details.
*/
@@ -2105,7 +2105,7 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
port_cap->psi[i] = readl(addr + 4 + i);
/* count unique ID values, two consecutive entries can
- * have the same ID if link is assymetric
+ * have the same ID if link is asymmetric
*/
if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) !=
XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1])))
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index 60af5fe29bd4..6e7611f89596 100644
--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -173,7 +173,7 @@ static void xhci_mtk_set_frame_interval(struct xhci_hcd_mtk *mtk)
/*
* workaround: usb3.2 gen1 isoc rx hw issue
- * host send out unexpected ACK afer device fininsh a burst transfer with
+ * host send out unexpected ACK after device fininsh a burst transfer with
* a short packet.
*/
static void xhci_mtk_rxfifo_depth_set(struct xhci_hcd_mtk *mtk)
diff --git a/drivers/usb/host/xhci-mtk.h b/drivers/usb/host/xhci-mtk.h
index 2274f5995171..0e29da1cea5e 100644
--- a/drivers/usb/host/xhci-mtk.h
+++ b/drivers/usb/host/xhci-mtk.h
@@ -79,7 +79,7 @@ struct mu3h_sch_bw_info {
* @maxpkt: max packet size of endpoint
* @ep: address of usb_host_endpoint struct
* @speed: usb device speed
- * @allocated: the bandwidth is aready allocated from bus_bw
+ * @allocated: the bandwidth is already allocated from bus_bw
* @offset: which uframe of the interval that transfer should be
* scheduled first time within the interval
* @repeat: the time gap between two uframes that transfers are
diff --git a/drivers/usb/host/xhci-port.h b/drivers/usb/host/xhci-port.h
index 889b5fb0fcd8..96b737070421 100644
--- a/drivers/usb/host/xhci-port.h
+++ b/drivers/usb/host/xhci-port.h
@@ -102,7 +102,7 @@
/* Cold Attach Status - xHC can set this bit to report device attached during
- * Sx state. Warm port reset should be perfomed to clear this bit and move port
+ * Sx state. Warm port reset should be performed to clear this bit and move port
* to connected state.
*/
#define PORT_CAS (1 << 24)
@@ -174,7 +174,7 @@
/*
* USB3 specification define a 360ms tPollingLFPSTiemout for USB3 ports
- * to complete link training. usually link trainig completes much faster
+ * to complete link training. usually link training completes much faster
* so check status 10 times with 36ms sleep in places we need to wait for
* polling to complete.
*/
diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c
index d747c0905827..949846532c74 100644
--- a/drivers/usb/host/xhci-rcar.c
+++ b/drivers/usb/host/xhci-rcar.c
@@ -205,7 +205,7 @@ static int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
*
* And, since the firmware/internal CPU control the USBSTS.STS_HALT
* and the process speed is down when the roothub port enters U3,
- * long delay for the handshake of STS_HALT is neeed in xhci_suspend()
+ * long delay for the handshake of STS_HALT is need in xhci_suspend()
* by using the XHCI_SLOW_SUSPEND quirk.
*/
static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen2 = {
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index ec4bfeb4887c..86a615c6fd2b 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -461,7 +461,7 @@ struct xhci_ep_ctx {
#define EP_STATE_ERROR 4
#define GET_EP_CTX_STATE(ctx) (le32_to_cpu((ctx)->ep_info) & EP_STATE_MASK)
-/* Mult - Max number of burtst within an interval, in EP companion desc. */
+/* Mult - Max number of burst within an interval, in EP companion desc. */
#define EP_MULT(p) (((p) & 0x3) << 8)
#define CTX_TO_EP_MULT(p) (((p) >> 8) & 0x3)
/* bits 10:14 are Max Primary Streams */
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 12/22] usb: image: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (10 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 11/22] usb: host: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 13/22] usb: isp1760: " Shunbo Shi
` (10 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/image/mdc800.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/image/mdc800.c b/drivers/usb/image/mdc800.c
index f7caa1c5cbb7..72cab4bfe01b 100644
--- a/drivers/usb/image/mdc800.c
+++ b/drivers/usb/image/mdc800.c
@@ -59,7 +59,7 @@
* has been removed.
*
* version 0.6.0
- * Rewrite of this driver: The Emulation of the rs232 protocoll
+ * Rewrite of this driver: The Emulation of the rs232 protocol
* has been removed from the driver. A special executeCommand function
* for this driver is included to gphoto.
* The driver supports two kind of communication to bulk endpoints.
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 13/22] usb: isp1760: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (11 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 12/22] usb: image: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 14/22] usb: misc: " Shunbo Shi
` (9 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/isp1760/isp1760-if.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/isp1760/isp1760-if.c b/drivers/usb/isp1760/isp1760-if.c
index a64190addba6..e09d509b4de0 100644
--- a/drivers/usb/isp1760/isp1760-if.c
+++ b/drivers/usb/isp1760/isp1760-if.c
@@ -94,7 +94,7 @@ static int isp1761_pci_init(struct pci_dev *dev)
return -ENOMEM;
}
- /* Grab the PLX PCI mem maped port start address we need */
+ /* Grab the PLX PCI mem mapped port start address we need */
mem_start = pci_resource_start(dev, 0);
mem_length = pci_resource_len(dev, 0);
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 14/22] usb: misc: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (12 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 13/22] usb: isp1760: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 15/22] usb: musb: " Shunbo Shi
` (8 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/misc/emi26.c | 2 +-
drivers/usb/misc/emi62.c | 2 +-
drivers/usb/misc/ldusb.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/misc/emi26.c b/drivers/usb/misc/emi26.c
index 24d841850e05..a0fd80082043 100644
--- a/drivers/usb/misc/emi26.c
+++ b/drivers/usb/misc/emi26.c
@@ -198,7 +198,7 @@ static int emi26_load_firmware (struct usb_device *dev)
goto wraperr;
msleep(250); /* let device settle */
- /* return 1 to fail the driver inialization
+ /* return 1 to fail the driver initialization
* and give real driver change to load */
err = 1;
diff --git a/drivers/usb/misc/emi62.c b/drivers/usb/misc/emi62.c
index 3eea60437f56..d29b5312f627 100644
--- a/drivers/usb/misc/emi62.c
+++ b/drivers/usb/misc/emi62.c
@@ -211,7 +211,7 @@ static int emi62_load_firmware (struct usb_device *dev)
kfree(buf);
- /* return 1 to fail the driver inialization
+ /* return 1 to fail the driver initialization
* and give real driver change to load */
return 1;
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c
index 71132a15e771..1072abab9659 100644
--- a/drivers/usb/misc/ldusb.c
+++ b/drivers/usb/misc/ldusb.c
@@ -2,7 +2,7 @@
/*
* Generic USB driver for report based interrupt in/out devices
* like LD Didactic's USB devices. LD Didactic's USB devices are
- * HID devices which do not use HID report definitons (they use
+ * HID devices which do not use HID report definitions (they use
* raw interrupt in and our reports only for communication).
*
* This driver uses a ring buffer for time critical reading of
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 15/22] usb: musb: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (13 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 14/22] usb: misc: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:40 ` [PATCH 16/22] usb: phy: " Shunbo Shi
` (7 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/musb/musb_host.c | 2 +-
drivers/usb/musb/tusb6010.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
index 31b061248991..b8a502d2b08b 100644
--- a/drivers/usb/musb/musb_host.c
+++ b/drivers/usb/musb/musb_host.c
@@ -65,7 +65,7 @@
* (Yes, bulk _could_ use more of the endpoints than that, and would even
* benefit from it.)
*
- * INTERUPPT and ISOCHRONOUS transfers are scheduled to the other endpoints.
+ * INTERRUPT and ISOCHRONOUS transfers are scheduled to the other endpoints.
* So far that scheduling is both dumb and optimistic: the endpoint will be
* "claimed" until its software queue is no longer refilled. No multiplexing
* of transfers between endpoints, or anything clever.
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c
index 1d9571f24a56..6a86bebc24ca 100644
--- a/drivers/usb/musb/tusb6010.c
+++ b/drivers/usb/musb/tusb6010.c
@@ -941,7 +941,7 @@ static void tusb_musb_enable(struct musb *musb)
musb_writel(tbase, TUSB_DMA_INT_MASK, 0x7fffffff);
musb_writel(tbase, TUSB_GPIO_INT_MASK, 0x1ff);
- /* Clear all subsystem interrups */
+ /* Clear all subsystem interrupts */
musb_writel(tbase, TUSB_USBIP_INT_CLEAR, 0x7fffffff);
musb_writel(tbase, TUSB_DMA_INT_CLEAR, 0x7fffffff);
musb_writel(tbase, TUSB_GPIO_INT_CLEAR, 0x1ff);
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 16/22] usb: phy: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (14 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 15/22] usb: musb: " Shunbo Shi
@ 2026-11-10 6:40 ` Shunbo Shi
2026-11-10 6:41 ` [PATCH 17/22] usb: renesas_usbhs: " Shunbo Shi
` (6 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:40 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/phy/phy-fsl-usb.c | 2 +-
drivers/usb/phy/phy.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/phy/phy-fsl-usb.c b/drivers/usb/phy/phy-fsl-usb.c
index 1986f7e9d9be..96f206351c3f 100644
--- a/drivers/usb/phy/phy-fsl-usb.c
+++ b/drivers/usb/phy/phy-fsl-usb.c
@@ -166,7 +166,7 @@ static void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on)
}
/*
- * Pull-up D+, signalling connect by periperal. Also used in
+ * Pull-up D+, signalling connect by peripheral. Also used in
* data-line pulsing in SRP
*/
static void fsl_otg_loc_conn(struct otg_fsm *fsm, int on)
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
index 5a9b9353f343..4cabb2cfbdf9 100644
--- a/drivers/usb/phy/phy.c
+++ b/drivers/usb/phy/phy.c
@@ -202,7 +202,7 @@ static void __usb_phy_get_charger_type(struct usb_phy *usb_phy)
* @state: the cable state
* @data: private data
*
- * Determin the charger type from extcon subsystem which also means the
+ * Determine the charger type from extcon subsystem which also means the
* charger state has been chaned, then we should notify this event.
*/
static int usb_phy_get_charger_type(struct notifier_block *nb,
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 17/22] usb: renesas_usbhs: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (15 preceding siblings ...)
2026-11-10 6:40 ` [PATCH 16/22] usb: phy: " Shunbo Shi
@ 2026-11-10 6:41 ` Shunbo Shi
2026-11-10 6:41 ` [PATCH 18/22] usb: roles: " Shunbo Shi
` (5 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:41 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/renesas_usbhs/mod_gadget.c | 2 +-
drivers/usb/renesas_usbhs/mod_host.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c
index 0c7fe109d5c7..92f4f35f8bb1 100644
--- a/drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/drivers/usb/renesas_usbhs/mod_gadget.c
@@ -852,7 +852,7 @@ static int usbhsg_try_start(struct usbhs_priv *priv, u32 status)
usbhs_pipe_config_update(dcp->pipe, 0, 0, 64);
/*
- * system config enble
+ * system config enable
* - HI speed
* - function
* - usb module
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c
index f7ef3a9f82a4..1a35f54203c0 100644
--- a/drivers/usb/renesas_usbhs/mod_host.c
+++ b/drivers/usb/renesas_usbhs/mod_host.c
@@ -1319,7 +1319,7 @@ static int usbhsh_irq_attch(struct usbhs_priv *priv,
usbhsh_port_stat_set(hpriv, USB_PORT_STAT_C_CONNECTION << 16);
/*
- * attch interrupt might happen infinitely on some device
+ * attach interrupt might happen infinitely on some device
* (on self power USB hub ?)
* disable it here.
*
@@ -1347,7 +1347,7 @@ static int usbhsh_irq_dtch(struct usbhs_priv *priv,
usbhsh_port_stat_set(hpriv, USB_PORT_STAT_C_CONNECTION << 16);
/*
- * enable attch interrupt again
+ * enable attach interrupt again
*
* usbhsh_is_running() becomes invalid
* according to this process.
@@ -1468,7 +1468,7 @@ static int usbhsh_start(struct usbhs_priv *priv)
usbhsh_pipe_init_for_host(priv);
/*
- * system config enble
+ * system config enable
* - HI speed
* - host
* - usb module
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 18/22] usb: roles: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (16 preceding siblings ...)
2026-11-10 6:41 ` [PATCH 17/22] usb: renesas_usbhs: " Shunbo Shi
@ 2026-11-10 6:41 ` Shunbo Shi
2026-11-10 6:41 ` [PATCH 19/22] usb: serial: " Shunbo Shi
` (4 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:41 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/roles/class.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/roles/class.c b/drivers/usb/roles/class.c
index edec139b68b5..8ea703e63ffb 100644
--- a/drivers/usb/roles/class.c
+++ b/drivers/usb/roles/class.c
@@ -414,7 +414,7 @@ usb_role_switch_register(struct device *parent,
EXPORT_SYMBOL_GPL(usb_role_switch_register);
/**
- * usb_role_switch_unregister - Unregsiter USB Role Switch
+ * usb_role_switch_unregister - Unregister USB Role Switch
* @sw: USB Role Switch
*
* Unregister switch that was registered with usb_role_switch_register().
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 19/22] usb: serial: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (17 preceding siblings ...)
2026-11-10 6:41 ` [PATCH 18/22] usb: roles: " Shunbo Shi
@ 2026-11-10 6:41 ` Shunbo Shi
2026-11-10 6:41 ` [PATCH 20/22] usb: storage: " Shunbo Shi
` (3 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:41 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/serial/cypress_m8.c | 2 +-
drivers/usb/serial/f81534.c | 8 ++++----
drivers/usb/serial/ftdi_sio.h | 2 +-
drivers/usb/serial/mos7720.c | 2 +-
drivers/usb/serial/oti6858.c | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c
index 78fb1389b34c..bd9b68b691de 100644
--- a/drivers/usb/serial/cypress_m8.c
+++ b/drivers/usb/serial/cypress_m8.c
@@ -462,7 +462,7 @@ static int cypress_generic_port_probe(struct usb_serial_port *port)
return -ENOMEM;
}
- /* Skip reset for FRWD device. It is a workaound:
+ /* Skip reset for FRWD device. It is a workaround:
device hangs if it receives SET_CONFIGURE in Configured
state. */
if (!is_frwd(serial->dev))
diff --git a/drivers/usb/serial/f81534.c b/drivers/usb/serial/f81534.c
index 0037767e4bbf..502c1c0260ec 100644
--- a/drivers/usb/serial/f81534.c
+++ b/drivers/usb/serial/f81534.c
@@ -83,7 +83,7 @@
#define F81534_TOKEN_MSR_CHANGE 0x04
/*
- * We used interal SPI bus to access FLASH section. We must wait the SPI bus to
+ * We used internal SPI bus to access FLASH section. We must wait the SPI bus to
* idle if we performed any command.
*
* SPI Bus status register: F81534_BUS_REG_STATUS
@@ -755,7 +755,7 @@ static int f81534_find_config_idx(struct usb_serial *serial, u8 *index)
* The F81532/534 will not report serial port to USB serial subsystem when
* H/W DCD/DSR/CTS/RI/RX pin connected to ground.
*
- * To detect RX pin status, we'll enable MCR interal loopback, disable it and
+ * To detect RX pin status, we'll enable MCR internal loopback, disable it and
* delayed for 60ms. It connected to ground If LSR register report UART_LSR_BI.
*/
static bool f81534_check_port_hw_disabled(struct usb_serial *serial, int phy)
@@ -824,9 +824,9 @@ static bool f81534_check_port_hw_disabled(struct usb_serial *serial, int phy)
* f81534_calc_num_ports() will run to final we marked as "oldest version"
* for this IC.
*
- * 2rd is designed to more generic to use any transceiver and this is our
+ * 2nd is designed to more generic to use any transceiver and this is our
* mass production type. We'll save data in F81534_CUSTOM_ADDRESS_START
- * (0x2f00) with 9bytes. The 1st byte is a indicater. If the token is
+ * (0x2f00) with 9bytes. The 1st byte is a indicator. If the token is
* F81534_CUSTOM_VALID_TOKEN(0xf0), the IC is 2nd gen type, the following
* 4bytes save port mode (0:RS232/1:RS485 Invert/2:RS485), and the last
* 4bytes save GPIO state(value from 0~7 to represent 3 GPIO output pin).
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index 55ea61264f91..b053e038bda4 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -15,7 +15,7 @@
* USB on the other.
*
* Thanx to FTDI (http://www.ftdichip.com) for so kindly providing details
- * of the protocol required to talk to the device and ongoing assistence
+ * of the protocol required to talk to the device and ongoing assistance
* during development.
*
* Bill Ryder - bryder@sgi.com formerly of Silicon Graphics, Inc.- wrote the
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c
index 104f43a8f4d8..312fa11cea95 100644
--- a/drivers/usb/serial/mos7720.c
+++ b/drivers/usb/serial/mos7720.c
@@ -1208,7 +1208,7 @@ static int set_higher_rates(struct moschip_port *mos7720_port,
/***********************************************
* Set for higher rates *
***********************************************/
- /* writing baud rate verbatum into uart clock field clearly not right */
+ /* writing baud rate verbatim into uart clock field clearly not right */
if (port_number == 0)
sp_reg = MOS7720_SP1_REG;
else
diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c
index c6364e8ff71f..0e527fe56da0 100644
--- a/drivers/usb/serial/oti6858.c
+++ b/drivers/usb/serial/oti6858.c
@@ -13,7 +13,7 @@
* Warning! You use this driver on your own risk! The only official
* description of this device I have is datasheet from manufacturer,
* and it doesn't contain almost any information needed to write a driver.
- * Almost all knowlegde used while writing this driver was gathered by:
+ * Almost all knowledge used while writing this driver was gathered by:
* - analyzing traffic between device and the M$ Windows 2000 driver,
* - trying different bit combinations and checking pin states
* with a voltmeter,
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 20/22] usb: storage: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (18 preceding siblings ...)
2026-11-10 6:41 ` [PATCH 19/22] usb: serial: " Shunbo Shi
@ 2026-11-10 6:41 ` Shunbo Shi
2026-11-10 6:41 ` [PATCH 21/22] usb: typec: " Shunbo Shi
` (2 subsequent siblings)
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:41 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/storage/ene_ub6250.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/storage/ene_ub6250.c b/drivers/usb/storage/ene_ub6250.c
index a9358e04ab4b..18d85ee79db8 100644
--- a/drivers/usb/storage/ene_ub6250.c
+++ b/drivers/usb/storage/ene_ub6250.c
@@ -470,7 +470,7 @@ struct ene_ub6250_info {
u32 bl_num;
int SrbStatus;
- /*------Power Managerment ---------------*/
+ /*------Power Management ---------------*/
bool Power_IsResum;
};
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 21/22] usb: typec: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (19 preceding siblings ...)
2026-11-10 6:41 ` [PATCH 20/22] usb: storage: " Shunbo Shi
@ 2026-11-10 6:41 ` Shunbo Shi
2026-11-10 6:41 ` [PATCH 22/22] usb: usbip: " Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:41 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/typec/class.c | 2 +-
drivers/usb/typec/tcpm/tcpm.c | 6 +++---
drivers/usb/typec/tipd/core.c | 2 +-
drivers/usb/typec/ucsi/displayport.c | 2 +-
drivers/usb/typec/ucsi/psy.c | 2 +-
drivers/usb/typec/ucsi/ucsi.h | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/class.c
index 54c7810b563b..ea2564b9eff6 100644
--- a/drivers/usb/typec/class.c
+++ b/drivers/usb/typec/class.c
@@ -564,7 +564,7 @@ static const struct attribute_group *typec_altmode_groups[] = {
* @adev: Handle to the alternate mode
* @ops: Ops for the alternate mode
*
- * After setting ops, attribute visiblity needs to be refreshed if the alternate
+ * After setting ops, attribute visibility needs to be refreshed if the alternate
* mode can be activated.
*/
void typec_altmode_set_ops(struct typec_altmode *adev,
diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
index d721baef5210..dabb91319e8a 100644
--- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -2520,7 +2520,7 @@ static int tcpm_pd_svdm(struct tcpm_port *port, struct typec_altmode *adev,
/*
* PD2.0 Spec 6.10.3: respond with NAK as DFP (data host)
* PD3.1 Spec 6.4.4.2.5.1: respond with NAK if "invalid field" or
- * "wrong configuation" or "Unrecognized"
+ * "wrong configuration" or "Unrecognized"
*/
if ((port->data_role == TYPEC_DEVICE || svdm_version >= SVDM_VER_2_0) &&
port->nr_snk_vdo) {
@@ -4461,7 +4461,7 @@ static int tcpm_pd_select_pdo(struct tcpm_port *port, int *sink_pdo,
/*
* Select the source PDO providing the most power which has a
- * matchig sink cap.
+ * matching sink cap.
*/
for (i = 0; i < port->nr_source_caps; i++) {
u32 pdo = port->source_caps[i];
@@ -5960,7 +5960,7 @@ static void run_state_machine(struct tcpm_port *port)
}
/*
* Although tAvsSrcTransSmall is expected to be used
- * for voltage transistions smaller than 1V, using
+ * for voltage transitions smaller than 1V, using
* tAvsSrcTransLarge to be resilient against chargers
* which strictly cannot honor tAvsSrcTransSmall to
* improve interoperability.
diff --git a/drivers/usb/typec/tipd/core.c b/drivers/usb/typec/tipd/core.c
index 02539378ffed..67471c363a68 100644
--- a/drivers/usb/typec/tipd/core.c
+++ b/drivers/usb/typec/tipd/core.c
@@ -950,7 +950,7 @@ static irqreturn_t cd321x_interrupt(int irq, void *data)
if (!tps->data->read_data_status(tps))
goto err_unlock;
- /* Can be called uncondtionally since it will check for any changes itself */
+ /* Can be called unconditionally since it will check for any changes itself */
cd321x_connect(tps, status);
err_unlock:
diff --git a/drivers/usb/typec/ucsi/displayport.c b/drivers/usb/typec/ucsi/displayport.c
index 572da7bbd29c..56cf7deb2312 100644
--- a/drivers/usb/typec/ucsi/displayport.c
+++ b/drivers/usb/typec/ucsi/displayport.c
@@ -165,7 +165,7 @@ static int ucsi_displayport_status_update(struct ucsi_dp *dp)
dp->data.status = DP_STATUS_ENABLED;
/*
- * If pin assignement D is supported, claiming always
+ * If pin assignment D is supported, claiming always
* that Multi-function is preferred.
*/
if (DP_CAP_CAPABILITY(cap) & DP_CAP_UFP_D) {
diff --git a/drivers/usb/typec/ucsi/psy.c b/drivers/usb/typec/ucsi/psy.c
index c8ebab8ba7e7..8eb1ed42fbbd 100644
--- a/drivers/usb/typec/ucsi/psy.c
+++ b/drivers/usb/typec/ucsi/psy.c
@@ -255,7 +255,7 @@ static int ucsi_psy_get_charge_type(struct ucsi_connector *con, union power_supp
return 0;
}
- /* The Battery Charging Cabability Status field is only valid in sink role. */
+ /* The Battery Charging Capability Status field is only valid in sink role. */
if (UCSI_CONSTAT(con, PWR_DIR) != TYPEC_SINK) {
val->intval = POWER_SUPPLY_CHARGE_TYPE_UNKNOWN;
return 0;
diff --git a/drivers/usb/typec/ucsi/ucsi.h b/drivers/usb/typec/ucsi/ucsi.h
index 1996f04ed5e6..d363e9a64763 100644
--- a/drivers/usb/typec/ucsi/ucsi.h
+++ b/drivers/usb/typec/ucsi/ucsi.h
@@ -509,7 +509,7 @@ struct ucsi {
#define UCSI_NO_PARTNER_PDOS BIT(0) /* Don't read partner's PDOs */
#define UCSI_DELAY_DEVICE_PDOS BIT(1) /* Reading PDOs fails until the parter is in PD mode */
-/* USB4 connection can imply that USB communcation is supported */
+/* USB4 connection can imply that USB communication is supported */
#define UCSI_USB4_IMPLIES_USB BIT(2)
};
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH 22/22] usb: usbip: fix a few spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (20 preceding siblings ...)
2026-11-10 6:41 ` [PATCH 21/22] usb: typec: " Shunbo Shi
@ 2026-11-10 6:41 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
22 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 6:41 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/serial/ftdi_sio.h | 2 +-
drivers/usb/usbip/stub.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index b053e038bda4..55ea61264f91 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -15,7 +15,7 @@
* USB on the other.
*
* Thanx to FTDI (http://www.ftdichip.com) for so kindly providing details
- * of the protocol required to talk to the device and ongoing assistance
+ * of the protocol required to talk to the device and ongoing assistence
* during development.
*
* Bill Ryder - bryder@sgi.com formerly of Silicon Graphics, Inc.- wrote the
diff --git a/drivers/usb/usbip/stub.h b/drivers/usb/usbip/stub.h
index d11270560c24..1fea0190de7f 100644
--- a/drivers/usb/usbip/stub.h
+++ b/drivers/usb/usbip/stub.h
@@ -29,7 +29,7 @@ struct stub_device {
* It is allocated as stub_priv_cache and assigned to urb->context.
*
* stub_priv is always linked to any one of 3 lists;
- * priv_init: linked to this until the comletion of a urb.
+ * priv_init: linked to this until the completion of a urb.
* priv_tx : linked to this after the completion of a urb.
* priv_free: linked to this after the sending of the result.
*
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 00/22] usb: fix spelling mistakes in comments
2026-11-10 6:40 [PATCH 00/22] usb: fix spelling mistakes in comments Shunbo Shi
` (21 preceding siblings ...)
2026-11-10 6:41 ` [PATCH 22/22] usb: usbip: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 01/22] usb: atm: fix a few " Shunbo Shi
` (21 more replies)
22 siblings, 22 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
Cover-letter:
Hi Greg,
v2 of this series fixes an issue in v1 spotted by the Sashiko AI
review: due to a rebase slip, the "usb: usbip" patch (22/22)
carried an unrelated hunk for drivers/usb/serial/ftdi_sio.h that
reverted a spelling fix made in the "usb: serial" patch (19/22).
v2 drops the ftdi_sio.h changes entirely from both patches (the
file is left untouched, as the word in question was deliberately
not fixed); all other patches are identical to v1.
This series fixes misspelled words in code comments across 22
subdirectories of drivers/usb/, found with codespell. All changes
are comment-only: no identifiers, strings, macros or code are
touched (verified mechanically - every modified line starts with
a comment marker).
No functional changes.
93 files changed, 154 insertions(+), 154 deletions(-)
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 01/22] usb: atm: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 02/22] usb: cdns3: " Shunbo Shi
` (20 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/atm/ueagle-atm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c
index 61723e7ab351..d569ee93b493 100644
--- a/drivers/usb/atm/ueagle-atm.c
+++ b/drivers/usb/atm/ueagle-atm.c
@@ -2189,7 +2189,7 @@ static void uea_stop(struct uea_softc *sc)
release_firmware(sc->dsp_firm);
}
-/* syfs interface */
+/* sysfs interface */
static struct uea_softc *dev_to_uea(struct device *dev)
{
struct usb_interface *intf;
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 02/22] usb: cdns3: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 01/22] usb: atm: fix a few " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 03/22] usb: chipidea: " Shunbo Shi
` (19 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/cdns3/cdns3-ep0.c | 4 ++--
drivers/usb/cdns3/cdns3-gadget.c | 6 +++---
drivers/usb/cdns3/drd.c | 2 +-
drivers/usb/cdns3/drd.h | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/cdns3/cdns3-ep0.c b/drivers/usb/cdns3/cdns3-ep0.c
index e29989d57bef..5d6d3616bfc6 100644
--- a/drivers/usb/cdns3/cdns3-ep0.c
+++ b/drivers/usb/cdns3/cdns3-ep0.c
@@ -643,7 +643,7 @@ void cdns3_check_ep0_interrupt_proceed(struct cdns3_device *priv_dev, int dir)
* @desc: pointer to usb endpoint descriptor
*
* Function shouldn't be called by gadget driver,
- * endpoint 0 is allways active
+ * endpoint 0 is always active
*/
static int cdns3_gadget_ep0_enable(struct usb_ep *ep,
const struct usb_endpoint_descriptor *desc)
@@ -656,7 +656,7 @@ static int cdns3_gadget_ep0_enable(struct usb_ep *ep,
* @ep: pointer to endpoint zero object
*
* Function shouldn't be called by gadget driver,
- * endpoint 0 is allways active
+ * endpoint 0 is always active
*/
static int cdns3_gadget_ep0_disable(struct usb_ep *ep)
{
diff --git a/drivers/usb/cdns3/cdns3-gadget.c b/drivers/usb/cdns3/cdns3-gadget.c
index f4dfd0131708..ba10ef9ea656 100644
--- a/drivers/usb/cdns3/cdns3-gadget.c
+++ b/drivers/usb/cdns3/cdns3-gadget.c
@@ -452,7 +452,7 @@ static void __cdns3_descmiss_copy_data(struct usb_request *request,
descmiss_req->actual);
request->actual = length;
} else {
- /* It should never occures */
+ /* It should never occurs */
request->status = -ENOMEM;
}
} else {
@@ -1062,7 +1062,7 @@ static int cdns3_ep_run_stream_transfer(struct cdns3_endpoint *priv_ep,
if (!(priv_ep->flags & EP_STALLED)) {
trace_cdns3_ring(priv_ep);
- /*clearing TRBERR and EP_STS_DESCMIS before seting DRDY*/
+ /*clearing TRBERR and EP_STS_DESCMIS before setting DRDY*/
writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts);
priv_ep->prime_flag = false;
@@ -1404,7 +1404,7 @@ static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep,
if (!priv_ep->wa1_set && !(priv_ep->flags & EP_STALLED)) {
trace_cdns3_ring(priv_ep);
- /*clearing TRBERR and EP_STS_DESCMIS before seting DRDY*/
+ /*clearing TRBERR and EP_STS_DESCMIS before setting DRDY*/
writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts);
writel(EP_CMD_DRDY, &priv_dev->regs->ep_cmd);
cdns3_rearm_drdy_if_needed(priv_ep);
diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c
index 42f13757d904..7465a2a4fb2d 100644
--- a/drivers/usb/cdns3/drd.c
+++ b/drivers/usb/cdns3/drd.c
@@ -58,7 +58,7 @@ static int cdns_set_mode(struct cdns *cdns, enum usb_dr_mode mode)
/*
* Enable work around feature built into the
* controller to address issue with RX Sensitivity
- * est (EL_17) for USB2 PHY. The issue only occures
+ * est (EL_17) for USB2 PHY. The issue only occurs
* for 0x0002450D controller version.
*/
if (cdns->phyrst_a_enable) {
diff --git a/drivers/usb/cdns3/drd.h b/drivers/usb/cdns3/drd.h
index 1e2aee14d629..0b134c1e5a49 100644
--- a/drivers/usb/cdns3/drd.h
+++ b/drivers/usb/cdns3/drd.h
@@ -160,11 +160,11 @@ struct cdns_otg_irq_regs {
* Value of the strap pins for:
* CDNS3:
* 000 - no default configuration
- * 010 - Controller initiall configured as Host
+ * 010 - Controller initially configured as Host
* 100 - Controller initially configured as Device
* CDNSP:
* 000 - No default configuration.
- * 010 - Controller initiall configured as Host.
+ * 010 - Controller initially configured as Host.
* 100 - Controller initially configured as Device.
*/
#define OTGSTS_STRAP(p) (((p) & GENMASK(14, 12)) >> 12)
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 03/22] usb: chipidea: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 01/22] usb: atm: fix a few " Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 02/22] usb: cdns3: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 04/22] usb: class: " Shunbo Shi
` (18 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/chipidea/core.c | 2 +-
drivers/usb/chipidea/udc.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 3461dd763a6e..e41ced53ac0c 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -642,7 +642,7 @@ static enum ci_role ci_get_role(struct ci_hdrc *ci)
} else {
/*
* If the controller is not OTG capable, but support
- * role switch, the defalt role is gadget, and the
+ * role switch, the default role is gadget, and the
* user can switch it through debugfs.
*/
role = CI_ROLE_GADGET;
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index c29b2d0dcc7c..827428aedba0 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -208,7 +208,7 @@ static int hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl)
if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num)))
return -EAGAIN;
- /* status shoult be tested according with manual but it doesn't work */
+ /* status should be tested according with manual but it doesn't work */
return 0;
}
@@ -271,7 +271,7 @@ static int hw_test_and_clear_complete(struct ci_hdrc *ci, int n)
* without interruption)
* @ci: the controller
*
- * This function returns active interrutps
+ * This function returns active interrupts
*/
static u32 hw_test_and_clear_intr_active(struct ci_hdrc *ci)
{
@@ -1242,7 +1242,7 @@ isr_setup_status_complete(struct usb_ep *ep, struct usb_request *req)
}
/**
- * isr_setup_status_phase: queues the status phase of a setup transation
+ * isr_setup_status_phase: queues the status phase of a setup transaction
* @ci: ci struct
*
* This function returns an error code
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 04/22] usb: class: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (2 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 03/22] usb: chipidea: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 05/22] usb: common: " Shunbo Shi
` (17 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/class/cdc-wdm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c
index 7556c0dac908..1745d9f51a1c 100644
--- a/drivers/usb/class/cdc-wdm.c
+++ b/drivers/usb/class/cdc-wdm.c
@@ -1189,7 +1189,7 @@ static int wdm_probe(struct usb_interface *intf, const struct usb_device_id *id)
*
* The subdriver will manage the given interrupt endpoint exclusively
* and will issue control requests referring to the given intf. It
- * will otherwise avoid interferring, and in particular not do
+ * will otherwise avoid interfering, and in particular not do
* usb_set_intfdata/usb_get_intfdata on intf.
*
* The return value is a pointer to the subdriver's struct usb_driver.
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 05/22] usb: common: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (3 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 04/22] usb: class: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 06/22] usb: core: " Shunbo Shi
` (16 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/common/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c
index fc0845f681be..450d13c6ca5f 100644
--- a/drivers/usb/common/common.c
+++ b/drivers/usb/common/common.c
@@ -285,7 +285,7 @@ EXPORT_SYMBOL_GPL(usb_decode_interval);
*
* In dts a usb controller associates with phy devices. The function gets
* the string from property 'dr_mode' of the controller associated with the
- * given phy device node, and returns the correspondig enum usb_dr_mode.
+ * given phy device node, and returns the corresponding enum usb_dr_mode.
*/
enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0)
{
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 06/22] usb: core: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (4 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 05/22] usb: common: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 07/22] usb: dwc2: " Shunbo Shi
` (15 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/core/driver.c | 2 +-
drivers/usb/core/hub.c | 8 ++++----
drivers/usb/core/port.c | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index d3a61ebc6afb..fbbdcaed9bad 100644
--- a/drivers/usb/core/driver.c
+++ b/drivers/usb/core/driver.c
@@ -806,7 +806,7 @@ EXPORT_SYMBOL_GPL(usb_match_one_id);
* vendor-specific, and hence matching against a standard product
* class wouldn't work anyway. If you really want to use an
* interface-based match for such a device, create a match record
- * that also specifies the vendor ID. (Unforunately there isn't a
+ * that also specifies the vendor ID. (Unfortunately there isn't a
* standard macro for creating records like this.)
*
* Within those groups, remember that not all combinations are
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 199d3f535a89..9478b23e506d 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -215,7 +215,7 @@ int usb_device_supports_lpm(struct usb_device *udev)
}
/*
- * Set the Maximum Exit Latency (MEL) for the host to wakup up the path from
+ * Set the Maximum Exit Latency (MEL) for the host to wakeup up the path from
* U1/U2, send a PING to the device and receive a PING_RESPONSE.
* See USB 3.1 section C.1.5.2
*/
@@ -4284,7 +4284,7 @@ static int usb_set_lpm_timeout(struct usb_device *udev,
}
/*
- * Don't allow device intiated U1/U2 if device isn't in the configured state,
+ * Don't allow device initiated U1/U2 if device isn't in the configured state,
* or the system exit latency + one bus interval is greater than the minimum
* service interval of any active periodic endpoint. See USB 3.2 section 9.4.9
*/
@@ -6395,10 +6395,10 @@ int usb_reset_device(struct usb_device *udev)
* Don't allocate memory with GFP_KERNEL in current
* context to avoid possible deadlock if usb mass
* storage interface or usbnet interface(iSCSI case)
- * is included in current configuration. The easist
+ * is included in current configuration. The easiest
* approach is to do it for every device reset,
* because the device 'memalloc_noio' flag may have
- * not been set before reseting the usb device.
+ * not been set before resetting the usb device.
*/
noio_flag = memalloc_noio_save();
diff --git a/drivers/usb/core/port.c b/drivers/usb/core/port.c
index b4452b665f59..33710e99e595 100644
--- a/drivers/usb/core/port.c
+++ b/drivers/usb/core/port.c
@@ -812,7 +812,7 @@ int usb_hub_create_port_device(struct usb_hub *hub, int port1)
find_and_link_peer(hub, port1);
/*
- * Enable runtime pm and hold a refernce that hub_configure()
+ * Enable runtime pm and hold a reference that hub_configure()
* will drop once the PM_QOS_NO_POWER_OFF flag state has been set
* and the hub has been fully registered (hdev->maxchild set).
*/
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 07/22] usb: dwc2: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (5 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 06/22] usb: core: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 08/22] usb: dwc3: " Shunbo Shi
` (14 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/dwc2/core.c | 4 ++--
drivers/usb/dwc2/core.h | 2 +-
drivers/usb/dwc2/gadget.c | 6 +++---
drivers/usb/dwc2/hcd.c | 8 ++++----
drivers/usb/dwc2/hcd.h | 2 +-
drivers/usb/dwc2/hcd_ddma.c | 2 +-
drivers/usb/dwc2/hcd_queue.c | 2 +-
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/usb/dwc2/core.c b/drivers/usb/dwc2/core.c
index 6a0135e06b00..7b98c3e1338a 100644
--- a/drivers/usb/dwc2/core.c
+++ b/drivers/usb/dwc2/core.c
@@ -113,7 +113,7 @@ int dwc2_exit_partial_power_down(struct dwc2_hsotg *hsotg, int rem_wakeup,
gr = &hsotg->gr_backup;
/*
- * Restore host or device regisers with the same mode core enterted
+ * Restore host or device registers with the same mode core enterted
* to partial power down by checking "GOTGCTL_CURMODE_HOST" backup
* value of the "gotgctl" register.
*/
@@ -138,7 +138,7 @@ int dwc2_enter_partial_power_down(struct dwc2_hsotg *hsotg)
}
/**
- * dwc2_restore_essential_regs() - Restore essiential regs of core.
+ * dwc2_restore_essential_regs() - Restore essential regs of core.
*
* @hsotg: Programming view of the DWC_otg controller
* @rmode: Restore mode, enabled in case of remote-wakeup.
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index 015a5fb7842d..57f5b8180a32 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -1006,7 +1006,7 @@ struct dwc2_hregs_backup {
* @driver: USB gadget driver
* @dedicated_fifos: Set if the hardware has dedicated IN-EP fifos.
* @num_of_eps: Number of available EPs (excluding EP0)
- * @debug_root: Root directrory for debugfs.
+ * @debug_root: Root directory for debugfs.
* @ep0_reply: Request used for ep0 reply.
* @ep0_buff: Buffer for EP0 reply data, if needed.
* @ctrl_buff: Buffer for EP0 control requests.
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index 6c8a9f05fff0..1eebe14ea68b 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
@@ -2835,7 +2835,7 @@ static void dwc2_hsotg_complete_in(struct dwc2_hsotg *hsotg,
* @dir_in: Endpoint direction 1-in 0-out.
*
* Reads for endpoint with given index and direction, by masking
- * epint_reg with coresponding mask.
+ * epint_reg with corresponding mask.
*/
static u32 dwc2_gadget_read_ep_interrupts(struct dwc2_hsotg *hsotg,
unsigned int idx, int dir_in)
@@ -4073,7 +4073,7 @@ static void dwc2_hsotg_ep_stop_xfr(struct dwc2_hsotg *hsotg,
/**
* dwc2_hsotg_ep_enable - enable the given endpoint
- * @ep: The USB endpint to configure
+ * @ep: The USB endpoint to configure
* @desc: The USB endpoint descriptor to configure with.
*
* This is called from the USB gadget code's usb_ep_enable().
@@ -4657,7 +4657,7 @@ static int dwc2_hsotg_udc_start(struct usb_gadget *gadget,
* dwc2_hsotg_udc_stop - stop the udc
* @gadget: The usb gadget state
*
- * Stop udc hw block and stay tunned for future transmissions
+ * Stop udc hw block and stay tuned for future transmissions
*/
static int dwc2_hsotg_udc_stop(struct usb_gadget *gadget)
{
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
index d5275cd658d4..fd2c0a8a4d30 100644
--- a/drivers/usb/dwc2/hcd.c
+++ b/drivers/usb/dwc2/hcd.c
@@ -34,7 +34,7 @@
*/
/**
- * dwc2_enable_common_interrupts() - Initializes the commmon interrupts,
+ * dwc2_enable_common_interrupts() - Initializes the common interrupts,
* used in both device and host modes
*
* @hsotg: Programming view of the DWC_otg controller
@@ -749,7 +749,7 @@ static void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan)
*
* In slave mode, checks for a free request queue entry, then sets the Channel
* Enable and Channel Disable bits of the Host Channel Characteristics
- * register of the specified channel to intiate the halt. If there is no free
+ * register of the specified channel to initiate the halt. If there is no free
* request queue entry, sets only the Channel Disable bit of the HCCHARn
* register to flush requests for this channel. In the latter case, sets a
* flag to indicate that the host channel needs to be halted when a request
@@ -5882,7 +5882,7 @@ int dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg,
udelay(5);
if (!rem_wakeup) {
- /* Stop driveing resume signaling on the port. */
+ /* Stop driving resume signaling on the port. */
hprt0 = dwc2_read_hprt0(hsotg);
hprt0 &= ~HPRT0_RES;
dwc2_writel(hsotg, hprt0, HPRT0);
@@ -5982,7 +5982,7 @@ void dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup)
/* In case of port resume need to wait for 40 ms */
msleep(USB_RESUME_TIMEOUT);
- /* Stop driveing resume signaling on the port. */
+ /* Stop driving resume signaling on the port. */
hprt0 = dwc2_read_hprt0(hsotg);
hprt0 &= ~HPRT0_RES;
dwc2_writel(hsotg, hprt0, HPRT0);
diff --git a/drivers/usb/dwc2/hcd.h b/drivers/usb/dwc2/hcd.h
index b7254d94fdc3..656acd2f03bd 100644
--- a/drivers/usb/dwc2/hcd.h
+++ b/drivers/usb/dwc2/hcd.h
@@ -10,7 +10,7 @@
/*
* This file contains the structures, constants, and interfaces for the
- * Host Contoller Driver (HCD)
+ * Host Controller Driver (HCD)
*
* The Host Controller Driver (HCD) is responsible for translating requests
* from the USB Driver into the appropriate actions on the DWC_otg controller.
diff --git a/drivers/usb/dwc2/hcd_ddma.c b/drivers/usb/dwc2/hcd_ddma.c
index 703cda5a5895..bdeb2943c4a5 100644
--- a/drivers/usb/dwc2/hcd_ddma.c
+++ b/drivers/usb/dwc2/hcd_ddma.c
@@ -415,7 +415,7 @@ static u16 dwc2_calc_starting_frame(struct dwc2_hsotg *hsotg,
* Current frame is 1, scheduled frame is 3. Since HC always fetches
* the descriptor corresponding to curr_frame+1, the descriptor
* corresponding to frame 2 will be fetched. If the number of
- * descriptors is max=64 (or greather) the list will be fully programmed
+ * descriptors is max=64 (or greater) the list will be fully programmed
* with Active descriptors and it is possible case (rare) that the
* latest descriptor(considering rollback) corresponding to frame 2 will
* be serviced first. HS case is more probable because, in fact, up to
diff --git a/drivers/usb/dwc2/hcd_queue.c b/drivers/usb/dwc2/hcd_queue.c
index 4f00ff1dc3e1..68e50b94e99f 100644
--- a/drivers/usb/dwc2/hcd_queue.c
+++ b/drivers/usb/dwc2/hcd_queue.c
@@ -1006,7 +1006,7 @@ static void dwc2_uframe_unschedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
* dwc2_pick_first_frame() - Choose 1st frame for qh that's already scheduled
*
* Takes a qh that has already been scheduled (which means we know we have the
- * bandwdith reserved for us) and set the next_active_frame and the
+ * bandwidth reserved for us) and set the next_active_frame and the
* start_active_frame.
*
* This is expected to be called on qh's that weren't previously actively
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 08/22] usb: dwc3: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (6 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 07/22] usb: dwc2: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 09/22] usb: fotg210: " Shunbo Shi
` (13 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/dwc3/core.h | 4 ++--
drivers/usb/dwc3/glue.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index f3dabb37f806..ba38a3fb9436 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -1014,7 +1014,7 @@ struct dwc3_glue_ops {
* @err_recovery_work: workqueue used for controller error recovery
* @ep0_trb: trb which is used for the ctrl_req
* @bounce: address of bounce buffer
- * @setup_buf: used while precessing STD USB requests
+ * @setup_buf: used while processing STD USB requests
* @ep0_trb_addr: dma address of @ep0_trb
* @bounce_addr: dma address of @bounce
* @ep0_usb_req: dummy req used while handling STD USB requests
@@ -1161,7 +1161,7 @@ struct dwc3_glue_ops {
* check during HS transmit.
* @resume_hs_terminations: Set if we enable quirk for fixing improper crc
* generation after resume from suspend.
- * @ulpi_ext_vbus_drv: Set to confiure the upli chip to drives CPEN pin
+ * @ulpi_ext_vbus_drv: Set to configure the upli chip to drives CPEN pin
* VBUS with an external supply.
* @parkmode_disable_ss_quirk: set if we need to disable all SuperSpeed
* instances in park mode.
diff --git a/drivers/usb/dwc3/glue.h b/drivers/usb/dwc3/glue.h
index d738e1739ae0..a1284c481390 100644
--- a/drivers/usb/dwc3/glue.h
+++ b/drivers/usb/dwc3/glue.h
@@ -30,7 +30,7 @@ struct dwc3_properties {
* @res: resource for the DWC3 core mmio region
* @ignore_clocks_and_resets: clocks and resets defined for the device should
* be ignored by the DWC3 core, as they are managed by the glue
- * @skip_core_init_mode: Skip the finial initialization of the target mode, as
+ * @skip_core_init_mode: Skip the final initialization of the target mode, as
* it must be managed by the glue
* @properties: dwc3 software manage properties
*/
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 09/22] usb: fotg210: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (7 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 08/22] usb: dwc3: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 10/22] usb: gadget: " Shunbo Shi
` (12 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/fotg210/fotg210-udc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/fotg210/fotg210-udc.h b/drivers/usb/fotg210/fotg210-udc.h
index 11fe67802537..f64339fcc273 100644
--- a/drivers/usb/fotg210/fotg210-udc.h
+++ b/drivers/usb/fotg210/fotg210-udc.h
@@ -171,7 +171,7 @@
#define FIFOMAP_EPNO(ep) ((ep) << ((ep) - 1) * 8)
#define FIFOMAP_EPNOMSK(ep) (0xF << ((ep) - 1) * 8)
-/* Device FIFO Confuguration Register (0x1AC) */
+/* Device FIFO Configuration Register (0x1AC) */
#define FOTG210_FIFOCF 0x1AC
#define FIFOCF_TYPE(type, fifo) ((type) << (fifo) * 8)
#define FIFOCF_BLK_SIN(fifo) (0x0 << (fifo) * 8 << 2)
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 10/22] usb: gadget: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (8 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 09/22] usb: fotg210: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 11/22] usb: host: " Shunbo Shi
` (11 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/gadget/composite.c | 4 ++--
drivers/usb/gadget/epautoconf.c | 2 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/usb/gadget/function/f_ncm.c | 2 +-
drivers/usb/gadget/function/f_printer.c | 2 +-
drivers/usb/gadget/function/f_uac2.c | 4 ++--
drivers/usb/gadget/function/ndis.h | 2 +-
drivers/usb/gadget/function/rndis.c | 2 +-
drivers/usb/gadget/function/storage_common.c | 2 +-
drivers/usb/gadget/function/u_audio.c | 2 +-
drivers/usb/gadget/legacy/inode.c | 2 +-
drivers/usb/gadget/udc/aspeed-vhub/ep0.c | 2 +-
drivers/usb/gadget/udc/aspeed-vhub/hub.c | 2 +-
drivers/usb/gadget/udc/bdc/bdc.h | 6 +++---
drivers/usb/gadget/udc/bdc/bdc_cmd.c | 2 +-
drivers/usb/gadget/udc/bdc/bdc_core.c | 4 ++--
drivers/usb/gadget/udc/bdc/bdc_ep.c | 10 +++++-----
drivers/usb/gadget/udc/cdns2/cdns2-ep0.c | 4 ++--
drivers/usb/gadget/udc/cdns2/cdns2-gadget.h | 4 ++--
drivers/usb/gadget/udc/core.c | 4 ++--
drivers/usb/gadget/udc/fsl_qe_udc.h | 2 +-
drivers/usb/gadget/udc/fsl_udc_core.c | 10 +++++-----
drivers/usb/gadget/udc/gr_udc.c | 2 +-
drivers/usb/gadget/udc/m66592-udc.c | 2 +-
drivers/usb/gadget/udc/net2280.c | 2 +-
drivers/usb/gadget/udc/pch_udc.c | 20 ++++++++++----------
drivers/usb/gadget/udc/pxa27x_udc.c | 12 ++++++------
drivers/usb/gadget/udc/r8a66597-udc.c | 2 +-
drivers/usb/gadget/udc/renesas_usbf.c | 4 ++--
drivers/usb/gadget/udc/snps_udc_core.c | 6 +++---
drivers/usb/gadget/udc/snps_udc_plat.c | 2 +-
drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
drivers/usb/gadget/usbstring.c | 2 +-
33 files changed, 66 insertions(+), 66 deletions(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index 1b2238147cfe..4ec54414c927 100644
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/usb/gadget/composite.c
@@ -25,7 +25,7 @@
/**
* struct usb_os_string - represents OS String to be reported by a gadget
- * @bLength: total length of the entire descritor, always 0x12
+ * @bLength: total length of the entire descriptor, always 0x12
* @bDescriptorType: USB_DT_STRING
* @qwSignature: the OS String proper
* @bMS_VendorCode: code used by the host for subsequent requests
@@ -1556,7 +1556,7 @@ static void composite_setup_complete(struct usb_ep *ep, struct usb_request *req)
req->status, req->actual, req->length);
/*
- * REVIST The same ep0 requests are shared with function drivers
+ * REVISIT The same ep0 requests are shared with function drivers
* so they don't have to maintain the same ->complete() stubs.
*
* Because of that, we need to check for the validity of ->context
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
index 30016b805bfd..8013bf6be6dd 100644
--- a/drivers/usb/gadget/epautoconf.c
+++ b/drivers/usb/gadget/epautoconf.c
@@ -29,7 +29,7 @@
* supports a different number of streams.
*
* This routine replaces the usb_ep_autoconfig when needed
- * superspeed enhancments. If such enhancemnets are required,
+ * superspeed enhancements. If such enhancemnets are required,
* the FD should call usb_ep_autoconfig_ss directly and provide
* the additional ep_comp parameter.
*
diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c
index 3c6b43d06a6d..cf54704b7655 100644
--- a/drivers/usb/gadget/function/f_hid.c
+++ b/drivers/usb/gadget/function/f_hid.c
@@ -618,7 +618,7 @@ static void get_report_workqueue_handler(struct work_struct *work)
*/
req->buf = ptr->report_data.data;
} else {
- /* If there are no prevoiusly sent reports send empty report */
+ /* If there are no previously sent reports send empty report */
req->buf = hidg->get_report.data;
memset(req->buf, 0x0, req->length);
}
diff --git a/drivers/usb/gadget/function/f_ncm.c b/drivers/usb/gadget/function/f_ncm.c
index 500c9c19c78b..f15e1c809a7d 100644
--- a/drivers/usb/gadget/function/f_ncm.c
+++ b/drivers/usb/gadget/function/f_ncm.c
@@ -612,7 +612,7 @@ static void ncm_notify(struct f_ncm *ncm)
*
* If ncm_notify() is called before the second (CONNECT)
* notification is sent, then it will reset to send the SPEED
- * notificaion again (and again, and again), but it's not a problem
+ * notification again (and again, and again), but it's not a problem
*/
ncm->notify_state = NCM_NOTIFY_SPEED;
ncm_do_notify(ncm);
diff --git a/drivers/usb/gadget/function/f_printer.c b/drivers/usb/gadget/function/f_printer.c
index 1857d786110b..3f25d99be34d 100644
--- a/drivers/usb/gadget/function/f_printer.c
+++ b/drivers/usb/gadget/function/f_printer.c
@@ -557,7 +557,7 @@ printer_read(struct file *fd, char __user *buf, size_t len, loff_t *ptr)
/* If we not returning all the data left in this RX request
* buffer then adjust the amount of data left in the buffer.
- * Othewise if we are done with this RX request buffer then
+ * Otherwise if we are done with this RX request buffer then
* requeue it to get any incoming data from the USB host.
*/
if (size < current_rx_bytes) {
diff --git a/drivers/usb/gadget/function/f_uac2.c b/drivers/usb/gadget/function/f_uac2.c
index d8cf710085a0..f9ca07dec17e 100644
--- a/drivers/usb/gadget/function/f_uac2.c
+++ b/drivers/usb/gadget/function/f_uac2.c
@@ -206,7 +206,7 @@ static struct uac2_input_terminal_descriptor io_in_it_desc = {
.bmControls = cpu_to_le16(CONTROL_RDWR << COPY_CTRL),
};
-/* Ouput Terminal for USB_IN */
+/* Output Terminal for USB_IN */
static struct uac2_output_terminal_descriptor usb_in_ot_desc = {
.bLength = sizeof usb_in_ot_desc,
.bDescriptorType = USB_DT_CS_INTERFACE,
@@ -220,7 +220,7 @@ static struct uac2_output_terminal_descriptor usb_in_ot_desc = {
.bmControls = cpu_to_le16(CONTROL_RDWR << COPY_CTRL),
};
-/* Ouput Terminal for I/O-Out */
+/* Output Terminal for I/O-Out */
static struct uac2_output_terminal_descriptor io_out_ot_desc = {
.bLength = sizeof io_out_ot_desc,
.bDescriptorType = USB_DT_CS_INTERFACE,
diff --git a/drivers/usb/gadget/function/ndis.h b/drivers/usb/gadget/function/ndis.h
index a19f72dec0cd..16e87628d37b 100644
--- a/drivers/usb/gadget/function/ndis.h
+++ b/drivers/usb/gadget/function/ndis.h
@@ -4,7 +4,7 @@
* ntddndis.h modified by Benedikt Spranger <b.spranger@pengutronix.de>
*
* Thanks to the cygwin development team,
- * espacially to Casper S. Hornstrup <chorns@users.sourceforge.net>
+ * especially to Casper S. Hornstrup <chorns@users.sourceforge.net>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
diff --git a/drivers/usb/gadget/function/rndis.c b/drivers/usb/gadget/function/rndis.c
index a2fd239b7ad3..0d3f784dc945 100644
--- a/drivers/usb/gadget/function/rndis.c
+++ b/drivers/usb/gadget/function/rndis.c
@@ -731,7 +731,7 @@ static int rndis_keepalive_response(struct rndis_params *params,
/*
- * Device to Host Comunication
+ * Device to Host Communication
*/
static int rndis_indicate_status_msg(struct rndis_params *params, u32 status)
{
diff --git a/drivers/usb/gadget/function/storage_common.c b/drivers/usb/gadget/function/storage_common.c
index 75831f2c7abe..cc90e252925c 100644
--- a/drivers/usb/gadget/function/storage_common.c
+++ b/drivers/usb/gadget/function/storage_common.c
@@ -3,7 +3,7 @@
* storage_common.c -- Common definitions for mass storage functionality
*
* Copyright (C) 2003-2008 Alan Stern
- * Copyeight (C) 2009 Samsung Electronics
+ * Copyright (C) 2009 Samsung Electronics
* Author: Michal Nazarewicz (mina86@mina86.com)
*/
diff --git a/drivers/usb/gadget/function/u_audio.c b/drivers/usb/gadget/function/u_audio.c
index f0ee83abcebc..11d8a304a38e 100644
--- a/drivers/usb/gadget/function/u_audio.c
+++ b/drivers/usb/gadget/function/u_audio.c
@@ -129,7 +129,7 @@ static void u_audio_set_fback_frequency(enum usb_device_speed speed,
* in samples/microframe.
* Format is encoded in Q12.13 fitted into four bytes so that
* the binary point is located between the second and the third
- * byte fromat (that is Q16.16)
+ * byte format (that is Q16.16)
*
* ff = (freq << 16) / 8000
*
diff --git a/drivers/usb/gadget/legacy/inode.c b/drivers/usb/gadget/legacy/inode.c
index 7f6d8460152f..cc059a6ee262 100644
--- a/drivers/usb/gadget/legacy/inode.c
+++ b/drivers/usb/gadget/legacy/inode.c
@@ -2081,7 +2081,7 @@ static const struct file_operations ep0_operations = {
/* FIXME PAM etc could set this security policy without mount options
- * if epfiles inherited ownership and permissons from ep0 ...
+ * if epfiles inherited ownership and permissions from ep0 ...
*/
static unsigned default_uid;
diff --git a/drivers/usb/gadget/udc/aspeed-vhub/ep0.c b/drivers/usb/gadget/udc/aspeed-vhub/ep0.c
index e9aa74231760..6b363aa6f8bd 100644
--- a/drivers/usb/gadget/udc/aspeed-vhub/ep0.c
+++ b/drivers/usb/gadget/udc/aspeed-vhub/ep0.c
@@ -365,7 +365,7 @@ static int ast_vhub_ep0_queue(struct usb_ep* u_ep, struct usb_request *u_req,
struct device *dev = &vhub->pdev->dev;
unsigned long flags;
- /* Paranoid cheks */
+ /* Paranoid checks */
if (!u_req || (!u_req->complete && !req->internal)) {
dev_warn(dev, "Bogus EP0 request ! u_req=%p\n", u_req);
if (u_req) {
diff --git a/drivers/usb/gadget/udc/aspeed-vhub/hub.c b/drivers/usb/gadget/udc/aspeed-vhub/hub.c
index d0345f31037a..5a9accd8fb53 100644
--- a/drivers/usb/gadget/udc/aspeed-vhub/hub.c
+++ b/drivers/usb/gadget/udc/aspeed-vhub/hub.c
@@ -551,7 +551,7 @@ void ast_vhub_device_connect(struct ast_vhub *vhub,
0, true);
/*
- * If the hub is set to wakup the host on connection events
+ * If the hub is set to wakeup the host on connection events
* then send a wakeup.
*/
if (vhub->wakeup_en)
diff --git a/drivers/usb/gadget/udc/bdc/bdc.h b/drivers/usb/gadget/udc/bdc/bdc.h
index 2f4abf6f8f77..d967bd5bd625 100644
--- a/drivers/usb/gadget/udc/bdc/bdc.h
+++ b/drivers/usb/gadget/udc/bdc/bdc.h
@@ -361,13 +361,13 @@ struct bdc_ep {
/* endpoint bd list*/
struct bd_list bd_list;
/*
- * HW generates extra event for multi bd tranfers, this flag helps in
+ * HW generates extra event for multi bd transfers, this flag helps in
* ignoring the extra event
*/
bool ignore_next_sr;
};
-/* bdc cmmand parameter structure */
+/* bdc command parameter structure */
struct bdc_cmd_params {
u32 param2;
u32 param1;
@@ -414,7 +414,7 @@ struct bdc {
/* num of endpoints for a particular instantiation of IP */
unsigned int num_eps;
/*
- * Array of ep's, it uses the same index covention as bdc hw i.e.
+ * Array of ep's, it uses the same index convention as bdc hw i.e.
* 1 for ep0, 2 for 1out,3 for 1in ....
*/
struct bdc_ep **bdc_ep_array;
diff --git a/drivers/usb/gadget/udc/bdc/bdc_cmd.c b/drivers/usb/gadget/udc/bdc/bdc_cmd.c
index 1848ced073f8..831b0e252a2b 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_cmd.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_cmd.c
@@ -116,7 +116,7 @@ int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep)
return bdc_submit_cmd(bdc, cmd_sc, 0, 0, 0);
}
-/* Reinitalize the bdlist after config ep command */
+/* Reinitialize the bdlist after config ep command */
static void ep_bd_list_reinit(struct bdc_ep *ep)
{
struct bdc *bdc = ep->bdc;
diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
index a8dbaef54aba..cd16b6010edd 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_core.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_core.c
@@ -296,7 +296,7 @@ static void bdc_mem_init(struct bdc *bdc, bool reinit)
for (i = 1; i < bdc->num_eps; ++i)
bdc->bdc_ep_array[i]->flags = 0;
} else {
- /* One time initiaization only */
+ /* One time initialization only */
/* Enable status report function pointers */
bdc->sr_handler[0] = bdc_sr_xsf;
bdc->sr_handler[1] = bdc_sr_uspc;
@@ -361,7 +361,7 @@ int bdc_reinit(struct bdc *bdc)
return ret;
}
-/* Allocate all the dyanmic memory */
+/* Allocate all the dynamic memory */
static int bdc_mem_alloc(struct bdc *bdc)
{
u32 page_size;
diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.c b/drivers/usb/gadget/udc/bdc/bdc_ep.c
index a7a22e5ec47b..039941009f1a 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_ep.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_ep.c
@@ -198,7 +198,7 @@ static inline int bd_needed_req(struct bdc_req *req)
if (req->usb_req.length == 0)
return 1;
- /* remaining bytes after tranfering all max BD size BD's */
+ /* remaining bytes after transferring all max BD size BD's */
remaining = req->usb_req.length % BD_MAX_BUFF_SIZE;
if (remaining)
bd_needed++;
@@ -298,8 +298,8 @@ static int bd_available_ep(struct bdc_ep *ep)
return bd_list->max_bdi - bd_list->num_tabs;
/*
- * Depending upon where eqp and dqp pointers are, caculate number
- * of avaialble bd's
+ * Depending upon where eqp and dqp pointers are, calculate number
+ * of available bd's
*/
if (bd_list->hwd_bdi < bd_list->eqp_bdi) {
/* available bd's are from eqp..max_bds + 0..dqp - chain_bds */
@@ -519,7 +519,7 @@ static int bdc_queue_xfr(struct bdc *bdc, struct bdc_req *req)
num_bds = bd_needed_req(req);
bd_available = bd_available_ep(ep);
- /* how many bd's are avaialble on ep */
+ /* how many bd's are available on ep */
if (num_bds > bd_available)
return -ENOMEM;
@@ -1093,7 +1093,7 @@ static void ep0_stall(struct bdc *bdc)
bdc->delayed_status = false;
ep_set_halt(ep, 1);
- /* de-queue any pendig requests */
+ /* de-queue any pending requests */
while (!list_empty(&ep->queue)) {
req = list_entry(ep->queue.next, struct bdc_req,
queue);
diff --git a/drivers/usb/gadget/udc/cdns2/cdns2-ep0.c b/drivers/usb/gadget/udc/cdns2/cdns2-ep0.c
index a5a9d395fd0d..802b7614ddea 100644
--- a/drivers/usb/gadget/udc/cdns2/cdns2-ep0.c
+++ b/drivers/usb/gadget/udc/cdns2/cdns2-ep0.c
@@ -495,7 +495,7 @@ void cdns2_handle_ep0_interrupt(struct cdns2_device *pdev, int dir)
/*
* Function shouldn't be called by gadget driver,
- * endpoint 0 is allways active.
+ * endpoint 0 is always active.
*/
static int cdns2_gadget_ep0_enable(struct usb_ep *ep,
const struct usb_endpoint_descriptor *desc)
@@ -505,7 +505,7 @@ static int cdns2_gadget_ep0_enable(struct usb_ep *ep,
/*
* Function shouldn't be called by gadget driver,
- * endpoint 0 is allways active.
+ * endpoint 0 is always active.
*/
static int cdns2_gadget_ep0_disable(struct usb_ep *ep)
{
diff --git a/drivers/usb/gadget/udc/cdns2/cdns2-gadget.h b/drivers/usb/gadget/udc/cdns2/cdns2-gadget.h
index b5d5ec12e986..2ef1dea605ae 100644
--- a/drivers/usb/gadget/udc/cdns2/cdns2-gadget.h
+++ b/drivers/usb/gadget/udc/cdns2/cdns2-gadget.h
@@ -540,8 +540,8 @@ struct cdns2_ring {
* @trb_burst_size: number of burst used in TRB.
* @skip: Sometimes the controller cannot process isochronous endpoint ring
* quickly enough and it will miss some isoc tds on the ring and
- * generate ISO transmition error.
- * Driver sets skip flag when receive a ISO transmition error and
+ * generate ISO transmission error.
+ * Driver sets skip flag when receive a ISO transmission error and
* process the missed TDs on the endpoint ring.
* @wa1_set: use WA1.
* @wa1_trb: TRB assigned to WA1.
diff --git a/drivers/usb/gadget/udc/core.c b/drivers/usb/gadget/udc/core.c
index d5844384c368..5ad5639a5ed1 100644
--- a/drivers/usb/gadget/udc/core.c
+++ b/drivers/usb/gadget/udc/core.c
@@ -1014,7 +1014,7 @@ EXPORT_SYMBOL_GPL(usb_gadget_giveback_request);
/* ------------------------------------------------------------------------- */
/**
- * gadget_find_ep_by_name - returns ep whose name is the same as sting passed
+ * gadget_find_ep_by_name - returns ep whose name is the same as string passed
* in second parameter or NULL if searched endpoint not found
* @g: controller to check for quirk
* @name: name of searched endpoint
@@ -1525,7 +1525,7 @@ EXPORT_SYMBOL_GPL(usb_add_gadget_udc_release);
/**
* usb_get_gadget_udc_name - get the name of the first UDC controller
* This functions returns the name of the first UDC controller in the system.
- * Please note that this interface is usefull only for legacy drivers which
+ * Please note that this interface is useful only for legacy drivers which
* assume that there is only one UDC controller in the system and they need to
* get its name before initialization. There is no guarantee that the UDC
* of the returned name will be still available, when gadget driver registers
diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.h b/drivers/usb/gadget/udc/fsl_qe_udc.h
index 53ca0ff7c2cb..902b0de88eca 100644
--- a/drivers/usb/gadget/udc/fsl_qe_udc.h
+++ b/drivers/usb/gadget/udc/fsl_qe_udc.h
@@ -213,7 +213,7 @@ struct qe_frame{
#define RX_ER_CRC 0x04000000 /* Received packet with CRC error */
#define RX_ER_OVERUN 0x02000000 /* Over-run occurred on reception */
#define RX_ER_PID 0x01000000 /* Wrong PID received */
-/* Tranmit side */
+/* Transmit side */
#define TX_ER_NAK 0x00800000 /* Received NAK handshake */
#define TX_ER_STALL 0x00400000 /* Received STALL handshake */
#define TX_ER_TIMEOUT 0x00200000 /* Transmit time out */
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c
index 878d70b55530..f8fd6fd327ec 100644
--- a/drivers/usb/gadget/udc/fsl_udc_core.c
+++ b/drivers/usb/gadget/udc/fsl_udc_core.c
@@ -472,7 +472,7 @@ static int dr_ep_get_stall(unsigned char ep_num, unsigned char dir)
********************************************************************/
/*------------------------------------------------------------------
-* struct_ep_qh_setup(): set the Endpoint Capabilites field of QH
+* struct_ep_qh_setup(): set the Endpoint Capabilities field of QH
* @zlt: Zero Length Termination Select (1: disable; 0: enable)
* @mult: Mult field
------------------------------------------------------------------*/
@@ -484,7 +484,7 @@ static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num,
struct ep_queue_head *p_QH = &udc->ep_qh[2 * ep_num + dir];
unsigned int tmp = 0;
- /* set the Endpoint Capabilites in QH */
+ /* set the Endpoint Capabilities in QH */
switch (ep_type) {
case USB_ENDPOINT_XFER_CONTROL:
/* Interrupt On Setup (IOS). for control ep */
@@ -594,7 +594,7 @@ static int fsl_ep_enable(struct usb_ep *_ep,
ep->stopped = 0;
/* Controller related setup */
- /* Init EPx Queue Head (Ep Capabilites field in QH
+ /* Init EPx Queue Head (Ep Capabilities field in QH
* according to max, zlt, mult) */
struct_ep_qh_setup(udc, (unsigned char) ep_index(ep),
(unsigned char) ((desc->bEndpointAddress & USB_DIR_IN)
@@ -1398,7 +1398,7 @@ __acquires(udc->lock)
udc_reset_ep_queue(udc, 0);
- /* We process some stardard setup requests here */
+ /* We process some standard setup requests here */
switch (setup->bRequest) {
case USB_REQ_GET_STATUS:
/* Data+Status phase from udc */
@@ -1831,7 +1831,7 @@ static void reset_irq(struct fsl_udc *udc)
if (fsl_readl(&dr_regs->portsc1) & PORTSCX_PORT_RESET) {
dev_vdbg(udc->dev, "Bus reset\n");
- /* Bus is reseting */
+ /* Bus is resetting */
udc->bus_reset = 1;
/* Reset all the queues, include XD, dTD, EP queue
* head and TR Queue */
diff --git a/drivers/usb/gadget/udc/gr_udc.c b/drivers/usb/gadget/udc/gr_udc.c
index cdcbfae140e9..4426caa999a8 100644
--- a/drivers/usb/gadget/udc/gr_udc.c
+++ b/drivers/usb/gadget/udc/gr_udc.c
@@ -470,7 +470,7 @@ static int gr_add_dma_desc(struct gr_ep *ep, struct gr_request *req,
* The first descriptor in the chain is enabled, the rest disabled. The
* interrupt handler will later enable them one by one when needed so we can
* find out when the transfer is finished. For OUT endpoints, all descriptors
- * therefore generate interrutps.
+ * therefore generate interrupts.
*/
static int gr_setup_out_desc_list(struct gr_ep *ep, struct gr_request *req,
gfp_t gfp_flags)
diff --git a/drivers/usb/gadget/udc/m66592-udc.c b/drivers/usb/gadget/udc/m66592-udc.c
index d77c11c4eb38..18578975b1df 100644
--- a/drivers/usb/gadget/udc/m66592-udc.c
+++ b/drivers/usb/gadget/udc/m66592-udc.c
@@ -599,7 +599,7 @@ static void init_controller(struct m66592 *m66592)
m66592_bclr(m66592, M66592_DPRPU, M66592_SYSCFG);
m66592_bset(m66592, M66592_USBE, M66592_SYSCFG);
- /* This is a workaound for SH7722 2nd cut */
+ /* This is a workaround for SH7722 2nd cut */
m66592_bset(m66592, 0x8000, M66592_DVSTCTR);
m66592_bset(m66592, 0x1000, M66592_TESTMODE);
m66592_bclr(m66592, 0x8000, M66592_DVSTCTR);
diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c
index 7c5f30cfd24d..0438bfed445f 100644
--- a/drivers/usb/gadget/udc/net2280.c
+++ b/drivers/usb/gadget/udc/net2280.c
@@ -1938,7 +1938,7 @@ static void defect7374_disable_data_eps(struct net2280 *dev)
/*
* For Defect 7374, disable data EPs (and more):
* - This phase undoes the earlier phase of the Defect 7374 workaround,
- * returing ep regs back to normal.
+ * returning ep regs back to normal.
*/
struct net2280_ep *ep;
int i;
diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c
index 99b3ce28210f..abcf3dbca29f 100644
--- a/drivers/usb/gadget/udc/pch_udc.c
+++ b/drivers/usb/gadget/udc/pch_udc.c
@@ -53,7 +53,7 @@
#define UDC_EPCTL_F (1 << 1)
#define UDC_EPCTL_S (1 << 0)
#define UDC_EPCTL_ET_SHIFT 4
-/* Mask patern */
+/* Mask pattern */
#define UDC_EPCTL_ET_MASK 0x00000030
/* Value for ET field */
#define UDC_EPCTL_ET_CONTROL 0
@@ -73,7 +73,7 @@
#define UDC_EPSTS_BNA (1 << 7)
#define UDC_EPSTS_IN (1 << 6)
#define UDC_EPSTS_OUT_SHIFT 4
-/* Mask patern */
+/* Mask pattern */
#define UDC_EPSTS_OUT_MASK 0x00000030
#define UDC_EPSTS_ALL_CLR_MASK 0x1F0006F0
/* Value for OUT field */
@@ -110,7 +110,7 @@
#define UDC_DEVSTS_ALT_SHIFT 8
#define UDC_DEVSTS_INTF_SHIFT 4
#define UDC_DEVSTS_CFG_SHIFT 0
-/* Mask patern */
+/* Mask pattern */
#define UDC_DEVSTS_TS_MASK 0xfffc0000
#define UDC_DEVSTS_ENUM_SPEED_MASK 0x00006000
#define UDC_DEVSTS_ALT_MASK 0x00000f00
@@ -132,7 +132,7 @@
#define UDC_DEVINT_ES (1 << 2)
#define UDC_DEVINT_SI (1 << 1)
#define UDC_DEVINT_SC (1 << 0)
-/* Mask patern */
+/* Mask pattern */
#define UDC_DEVINT_MSK 0x7f
/* Endpoint irq register */
@@ -141,7 +141,7 @@
#define UDC_EPINT_OUT_SHIFT 16
#define UDC_EPINT_IN_EP0 (1 << 0)
#define UDC_EPINT_OUT_EP0 (1 << 16)
-/* Mask patern */
+/* Mask pattern */
#define UDC_EPINT_MSK_DISABLE_ALL 0xffffffff
/* UDC_CSR_BUSY Status register */
@@ -162,7 +162,7 @@
#define UDC_CSR_NE_INTF_SHIFT 11
#define UDC_CSR_NE_ALT_SHIFT 15
#define UDC_CSR_NE_MAX_PKT_SHIFT 19
-/* Mask patern */
+/* Mask pattern */
#define UDC_CSR_NE_NUM_MASK 0x0000000f
#define UDC_CSR_NE_DIR_MASK 0x00000010
#define UDC_CSR_NE_TYPE_MASK 0x00000060
@@ -296,7 +296,7 @@ struct pch_udc_ep {
};
/**
- * struct pch_vbus_gpio_data - Structure holding GPIO informaton
+ * struct pch_vbus_gpio_data - Structure holding GPIO information
* for detecting VBUS
* @port: gpio descriptor for the VBUS GPIO
* @intr: gpio interrupt number
@@ -319,7 +319,7 @@ struct pch_vbus_gpio_data {
* @ep: array of endpoints
* @lock: protects all state
* @stall: stall requested
- * @prot_stall: protcol stall requested
+ * @prot_stall: protocol stall requested
* @suspended: driver in suspended state
* @connected: gadget driver associated
* @vbus_session: required vbus_session state
@@ -332,7 +332,7 @@ struct pch_vbus_gpio_data {
* @base_addr: for mapped device memory
* @bar: PCI BAR used for mapped device memory
* @cfg_data: current cfg, intf, and alt in use
- * @vbus_gpio: GPIO informaton for detecting VBUS
+ * @vbus_gpio: GPIO information for detecting VBUS
*/
struct pch_udc_dev {
struct usb_gadget gadget;
@@ -846,7 +846,7 @@ static inline u32 pch_udc_read_ep_interrupts(struct pch_udc_dev *dev)
}
/**
- * pch_udc_write_ep_interrupts() - Clear endpoint interupts
+ * pch_udc_write_ep_interrupts() - Clear endpoint interrupts
* @dev: Reference to structure of type pch_udc_regs
* @val: The value to be written to interrupt register
*/
diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c
index df5cca43afbe..9fd079cb65c6 100644
--- a/drivers/usb/gadget/udc/pxa27x_udc.c
+++ b/drivers/usb/gadget/udc/pxa27x_udc.c
@@ -1037,7 +1037,7 @@ static int write_ep0_fifo(struct pxa_ep *ep, struct pxa27x_request *req)
* special case of ep0 setup :
* (irq->handle_ep0_ctrl_req->gadget_setup->pxa_ep_queue)
*
- * Returns 0 if succedeed, error otherwise
+ * Returns 0 if succeeded, error otherwise
*/
static int pxa_ep_queue(struct usb_ep *_ep, struct usb_request *_req,
gfp_t gfp_flags)
@@ -1535,7 +1535,7 @@ static int pxa_udc_pullup(struct usb_gadget *_gadget, int is_active)
* @_gadget: usb gadget
* @is_active: 0 if should disable the udc, 1 if should enable
*
- * Enables the udc, and optionnaly activates D+ pullup resistor. Or disables the
+ * Enables the udc, and optionally activates D+ pullup resistor. Or disables the
* udc, and deactivates D+ pullup resistor.
*
* Returns 0
@@ -1943,7 +1943,7 @@ static void handle_ep0_ctrl_req(struct pxa_udc *udc,
* STAGE. The driver add STATUS STAGE to send last zero length packet in
* OUT_STATUS_STAGE.
* - special attention was needed for IN_STATUS_STAGE. If a packet complete
- * event is detected, we terminate the status stage without ackowledging the
+ * event is detected, we terminate the status stage without acknowledging the
* packet (not to risk to loose a potential SETUP packet)
*/
static void handle_ep0(struct pxa_udc *udc, int fifo_irq, int opc_irq)
@@ -2023,7 +2023,7 @@ static void handle_ep0(struct pxa_udc *udc, int fifo_irq, int opc_irq)
}
/**
- * handle_ep - Handle endpoint data tranfers
+ * handle_ep - Handle endpoint data transfers
* @ep: pxa physical endpoint
*
* Tries to transfer all pending request data into the endpoint and/or
@@ -2091,7 +2091,7 @@ static void handle_ep(struct pxa_ep *ep)
* @config: usb configuration
*
* Post the request to upper level.
- * Don't use any pxa specific harware configuration capabilities
+ * Don't use any pxa specific hardware configuration capabilities
*/
static void pxa27x_change_configuration(struct pxa_udc *udc, int config)
{
@@ -2121,7 +2121,7 @@ static void pxa27x_change_configuration(struct pxa_udc *udc, int config)
* @alt: alternate setting number
*
* Post the request to upper level.
- * Don't use any pxa specific harware configuration capabilities
+ * Don't use any pxa specific hardware configuration capabilities
*/
static void pxa27x_change_interface(struct pxa_udc *udc, int iface, int alt)
{
diff --git a/drivers/usb/gadget/udc/r8a66597-udc.c b/drivers/usb/gadget/udc/r8a66597-udc.c
index 915786c9628c..c7477eb4b2d4 100644
--- a/drivers/usb/gadget/udc/r8a66597-udc.c
+++ b/drivers/usb/gadget/udc/r8a66597-udc.c
@@ -652,7 +652,7 @@ static int sudmac_alloc_channel(struct r8a66597 *r8a66597,
change_bfre_mode(r8a66597, ep->pipenum, 1);
}
- /* set r8a66597_ep paramters */
+ /* set r8a66597_ep parameters */
ep->use_dma = 1;
ep->dma = dma;
ep->fifoaddr = D0FIFO;
diff --git a/drivers/usb/gadget/udc/renesas_usbf.c b/drivers/usb/gadget/udc/renesas_usbf.c
index 367c9e73f366..cb6b365ab17c 100644
--- a/drivers/usb/gadget/udc/renesas_usbf.c
+++ b/drivers/usb/gadget/udc/renesas_usbf.c
@@ -858,7 +858,7 @@ static int usbf_epn_dma_in(struct usbf_ep *epn, struct usbf_req *req)
usbf_ep_reg_bitset(epn, USBF_REG_EPN_CONTROL, USBF_EPN_AUTO);
/* The end of DMA transfer at the USBF level needs to be handle
- * after the detection of the end of DMA transfer at the brige
+ * after the detection of the end of DMA transfer at the bridge
* level.
* To force this sequence, EPN_IN_END_EN will be set by the
* detection of the end of transfer at bridge level (ie. bridge
@@ -1075,7 +1075,7 @@ static void usbf_epn_dma_out_send_dma(struct usbf_ep *epn, dma_addr_t addr, u32
USBF_EPN_SET_DMACNT(0));
/* The end of DMA transfer at the USBF level needs to be handled
- * after the detection of the end of DMA transfer at the brige
+ * after the detection of the end of DMA transfer at the bridge
* level.
* To force this sequence, enabling the OUT_END interrupt will
* be donee by the detection of the end of transfer at bridge
diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers/usb/gadget/udc/snps_udc_core.c
index d506f9d92bca..1cb29c1a0926 100644
--- a/drivers/usb/gadget/udc/snps_udc_core.c
+++ b/drivers/usb/gadget/udc/snps_udc_core.c
@@ -82,7 +82,7 @@ static int stop_timer;
* in the FIFO (important for not blocking control traffic).
* The value of set_rde controls the corresponding timer.
*
- * set_rde -1 == not used, means it is alloed to be set to 0 or 1
+ * set_rde -1 == not used, means it is allowed to be set to 0 or 1
* set_rde 0 == do not touch RDE, do no start the RDE timer
* set_rde 1 == timer function will look whether FIFO has data
* set_rde 2 == set by timer function to enable RX DMA on next call
@@ -1213,7 +1213,7 @@ udc_queue(struct usb_ep *usbep, struct usb_request *usbreq, gfp_t gfp)
DBG(dev, "udc_queue(): pending bytes in "
"rxfifo after nyet\n");
/*
- * read pending bytes afer nyet:
+ * read pending bytes after nyet:
* referring to isr
*/
if (udc_rxfifo_read(ep, req)) {
@@ -1328,7 +1328,7 @@ udc_set_halt(struct usb_ep *usbep, int halt)
else {
/*
* set STALL
- * rxfifo empty not taken into acount
+ * rxfifo empty not taken into account
*/
tmp = readl(&ep->regs->ctl);
tmp |= AMD_BIT(UDC_EPCTL_S);
diff --git a/drivers/usb/gadget/udc/snps_udc_plat.c b/drivers/usb/gadget/udc/snps_udc_plat.c
index 8ce43c4f8fba..a2350db814c3 100644
--- a/drivers/usb/gadget/udc/snps_udc_plat.c
+++ b/drivers/usb/gadget/udc/snps_udc_plat.c
@@ -36,7 +36,7 @@ static void stop_udc(struct udc *udc)
spin_lock(&udc->lock);
- /* Flush the receieve fifo */
+ /* Flush the receive fifo */
reg = readl(&udc->regs->ctl);
reg |= AMD_BIT(UDC_DEVCTL_SRX_FLUSH);
writel(reg, &udc->regs->ctl);
diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c
index bef06fe7543b..20fe241b4275 100644
--- a/drivers/usb/gadget/udc/udc-xilinx.c
+++ b/drivers/usb/gadget/udc/udc-xilinx.c
@@ -311,7 +311,7 @@ static void xudc_epconfig(struct xusb_ep *ep, struct xusb_udc *udc)
* Return: 0 on success, error code on failure
*
* This function starts DMA transfer by writing to DMA source,
- * destination and lenth registers.
+ * destination and length registers.
*/
static int xudc_start_dma(struct xusb_ep *ep, dma_addr_t src,
dma_addr_t dst, u32 length)
diff --git a/drivers/usb/gadget/usbstring.c b/drivers/usb/gadget/usbstring.c
index 37a2f1b61cba..51bf85f1e343 100644
--- a/drivers/usb/gadget/usbstring.c
+++ b/drivers/usb/gadget/usbstring.c
@@ -25,7 +25,7 @@
* string descriptor in utf16-le.
* Returns length of descriptor (always even) or negative errno
*
- * If your driver needs stings in multiple languages, you'll probably
+ * If your driver needs strings in multiple languages, you'll probably
* "switch (wIndex) { ... }" in your ep0 string descriptor logic,
* using this routine after choosing which set of UTF-8 strings to use.
* Note that US-ASCII is a strict subset of UTF-8; any string bytes with
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 11/22] usb: host: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (9 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 10/22] usb: gadget: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 8:45 ` Michal Pecio
2026-11-10 7:58 ` [PATCH v2 12/22] usb: image: " Shunbo Shi
` (10 subsequent siblings)
21 siblings, 1 reply; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/host/ehci-brcm.c | 2 +-
drivers/usb/host/ehci-sched.c | 2 +-
drivers/usb/host/fhci-q.c | 2 +-
drivers/usb/host/fhci-tds.c | 8 ++++----
drivers/usb/host/octeon-hcd.c | 2 +-
drivers/usb/host/ohci-q.c | 2 +-
drivers/usb/host/ohci-sa1111.c | 2 +-
drivers/usb/host/xhci-dbgcap.h | 2 +-
drivers/usb/host/xhci-mem.c | 4 ++--
drivers/usb/host/xhci-mtk.c | 2 +-
drivers/usb/host/xhci-mtk.h | 2 +-
drivers/usb/host/xhci-port.h | 4 ++--
drivers/usb/host/xhci-rcar.c | 2 +-
drivers/usb/host/xhci.h | 2 +-
14 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers/usb/host/ehci-brcm.c b/drivers/usb/host/ehci-brcm.c
index 5e3156f94cc6..d1f363c7d8d7 100644
--- a/drivers/usb/host/ehci-brcm.c
+++ b/drivers/usb/host/ehci-brcm.c
@@ -42,7 +42,7 @@ static inline void ehci_brcm_wait_for_sof(struct ehci_hcd *ehci, u32 delay)
* ehci_brcm_hub_control
* The EHCI controller has a bug where it can violate the SOF
* interval between the first two SOF's transmitted after resume
- * if the resume occurs near the end of the microframe. This causees
+ * if the resume occurs near the end of the microframe. This causes
* the controller to detect babble on the suspended port and
* will eventually cause the controller to reset the port.
* The fix is to Intercept the echi-hcd request to complete RESUME and
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
index 57d07d1c2dfa..ff59524f8d2b 100644
--- a/drivers/usb/host/ehci-sched.c
+++ b/drivers/usb/host/ehci-sched.c
@@ -315,7 +315,7 @@ static int __maybe_unused same_tt(struct usb_device *dev1,
static const unsigned char
max_tt_usecs[] = { 125, 125, 125, 125, 125, 125, 30, 0 };
-/* carryover low/fullspeed bandwidth that crosses uframe boundries */
+/* carryover low/fullspeed bandwidth that crosses uframe boundaries */
static inline void carryover_tt_bandwidth(unsigned short tt_usecs[8])
{
int i;
diff --git a/drivers/usb/host/fhci-q.c b/drivers/usb/host/fhci-q.c
index 669c240523fe..b13ad02454e1 100644
--- a/drivers/usb/host/fhci-q.c
+++ b/drivers/usb/host/fhci-q.c
@@ -208,7 +208,7 @@ void fhci_urb_complete_free(struct fhci_hcd *fhci, struct urb *urb)
}
/*
- * caculate transfer length/stats and update the urb
+ * calculate transfer length/stats and update the urb
* Precondition: irqsafe(only for urb-?status locking)
*/
void fhci_done_td(struct urb *urb, struct td *td)
diff --git a/drivers/usb/host/fhci-tds.c b/drivers/usb/host/fhci-tds.c
index d7482dc0604e..0ed1c0fcaaeb 100644
--- a/drivers/usb/host/fhci-tds.c
+++ b/drivers/usb/host/fhci-tds.c
@@ -234,9 +234,9 @@ u32 fhci_create_ep(struct fhci_usb *usb, enum fhci_mem_alloc data_mem,
/*
* initialize the endpoint register according to the given parameters
*
- * artuments:
- * usb A pointer to the data strucutre of the USB
- * ep A pointer to the endpoint structre
+ * arguments:
+ * usb A pointer to the data structure of the USB
+ * ep A pointer to the endpoint structure
* data_mem The data memory partition(BUS)
*/
void fhci_init_ep_registers(struct fhci_usb *usb, struct endpoint *ep,
@@ -367,7 +367,7 @@ static void fhci_td_transaction_confirm(struct fhci_usb *usb)
* Arguments:
* usb A pointer to the USB structure
* pkt A pointer to the user frame structure
- * trans_type Transaction tyep - IN,OUT or SETUP
+ * trans_type Transaction type - IN,OUT or SETUP
* dest_addr Device address - 0~127
* dest_ep Endpoint number of the device - 0~16
* trans_mode Pipe type - ISO,Interrupt,bulk or control
diff --git a/drivers/usb/host/octeon-hcd.c b/drivers/usb/host/octeon-hcd.c
index 4929c6a8e733..cf4175246978 100644
--- a/drivers/usb/host/octeon-hcd.c
+++ b/drivers/usb/host/octeon-hcd.c
@@ -2847,7 +2847,7 @@ static int cvmx_usb_poll_channel(struct octeon_hcd *usb, int channel)
if (WARN_ON_ONCE(bytes_this_transfer < 0)) {
/*
* In some rare cases the DMA engine seems to get stuck and
- * keeps substracting same byte count over and over again. In
+ * keeps subtracting same byte count over and over again. In
* such case we just need to fail every transaction.
*/
cvmx_usb_complete(usb, pipe, transaction,
diff --git a/drivers/usb/host/ohci-q.c b/drivers/usb/host/ohci-q.c
index 3b445312beea..21916f762b49 100644
--- a/drivers/usb/host/ohci-q.c
+++ b/drivers/usb/host/ohci-q.c
@@ -137,7 +137,7 @@ static int balance (struct ohci_hcd *ohci, int interval, int load)
/*-------------------------------------------------------------------------*/
/* both iso and interrupt requests have periods; this routine puts them
- * into the schedule tree in the apppropriate place. most iso devices use
+ * into the schedule tree in the appropriate place. most iso devices use
* 1msec periods, but that's not required.
*/
static void periodic_link (struct ohci_hcd *ohci, struct ed *ed)
diff --git a/drivers/usb/host/ohci-sa1111.c b/drivers/usb/host/ohci-sa1111.c
index aca0338a2983..5df8108b777f 100644
--- a/drivers/usb/host/ohci-sa1111.c
+++ b/drivers/usb/host/ohci-sa1111.c
@@ -183,7 +183,7 @@ static int ohci_hcd_sa1111_probe(struct sa1111_dev *dev)
/*
* We don't call dma_set_mask_and_coherent() here because the
- * DMA mask has already been appropraitely setup by the core
+ * DMA mask has already been appropriately setup by the core
* SA-1111 bus code (which includes bug workarounds.)
*/
diff --git a/drivers/usb/host/xhci-dbgcap.h b/drivers/usb/host/xhci-dbgcap.h
index 5b18efb2c1ea..32c26b42c583 100644
--- a/drivers/usb/host/xhci-dbgcap.h
+++ b/drivers/usb/host/xhci-dbgcap.h
@@ -78,7 +78,7 @@ struct dbc_str_descs {
/*
* NULL terminated UTF-8 strings used to create UTF-16 strings
- * (with maxiumum USB_MAX_STRING_LEN 2 byte characters).
+ * (with maximum USB_MAX_STRING_LEN 2 byte characters).
*/
struct dbc_str {
char manufacturer[USB_MAX_STRING_LEN+1];
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index af8d4b74c4ba..124eb6dc5774 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -1442,7 +1442,7 @@ int xhci_endpoint_init(struct xhci_hcd *xhci,
/*
* Get values to fill the endpoint context, mostly from ep descriptor.
- * The average TRB buffer lengt for bulk endpoints is unclear as we
+ * The average TRB buffer length for bulk endpoints is unclear as we
* have no clue on scatter gather list entry size. For Isoc and Int,
* set it to max available. See xHCI 1.1 spec 4.14.1.1 for details.
*/
@@ -2105,7 +2105,7 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
port_cap->psi[i] = readl(addr + 4 + i);
/* count unique ID values, two consecutive entries can
- * have the same ID if link is assymetric
+ * have the same ID if link is asymmetric
*/
if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) !=
XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1])))
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index 60af5fe29bd4..6e7611f89596 100644
--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -173,7 +173,7 @@ static void xhci_mtk_set_frame_interval(struct xhci_hcd_mtk *mtk)
/*
* workaround: usb3.2 gen1 isoc rx hw issue
- * host send out unexpected ACK afer device fininsh a burst transfer with
+ * host send out unexpected ACK after device fininsh a burst transfer with
* a short packet.
*/
static void xhci_mtk_rxfifo_depth_set(struct xhci_hcd_mtk *mtk)
diff --git a/drivers/usb/host/xhci-mtk.h b/drivers/usb/host/xhci-mtk.h
index 2274f5995171..0e29da1cea5e 100644
--- a/drivers/usb/host/xhci-mtk.h
+++ b/drivers/usb/host/xhci-mtk.h
@@ -79,7 +79,7 @@ struct mu3h_sch_bw_info {
* @maxpkt: max packet size of endpoint
* @ep: address of usb_host_endpoint struct
* @speed: usb device speed
- * @allocated: the bandwidth is aready allocated from bus_bw
+ * @allocated: the bandwidth is already allocated from bus_bw
* @offset: which uframe of the interval that transfer should be
* scheduled first time within the interval
* @repeat: the time gap between two uframes that transfers are
diff --git a/drivers/usb/host/xhci-port.h b/drivers/usb/host/xhci-port.h
index 889b5fb0fcd8..96b737070421 100644
--- a/drivers/usb/host/xhci-port.h
+++ b/drivers/usb/host/xhci-port.h
@@ -102,7 +102,7 @@
/* Cold Attach Status - xHC can set this bit to report device attached during
- * Sx state. Warm port reset should be perfomed to clear this bit and move port
+ * Sx state. Warm port reset should be performed to clear this bit and move port
* to connected state.
*/
#define PORT_CAS (1 << 24)
@@ -174,7 +174,7 @@
/*
* USB3 specification define a 360ms tPollingLFPSTiemout for USB3 ports
- * to complete link training. usually link trainig completes much faster
+ * to complete link training. usually link training completes much faster
* so check status 10 times with 36ms sleep in places we need to wait for
* polling to complete.
*/
diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c
index d747c0905827..949846532c74 100644
--- a/drivers/usb/host/xhci-rcar.c
+++ b/drivers/usb/host/xhci-rcar.c
@@ -205,7 +205,7 @@ static int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
*
* And, since the firmware/internal CPU control the USBSTS.STS_HALT
* and the process speed is down when the roothub port enters U3,
- * long delay for the handshake of STS_HALT is neeed in xhci_suspend()
+ * long delay for the handshake of STS_HALT is need in xhci_suspend()
* by using the XHCI_SLOW_SUSPEND quirk.
*/
static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen2 = {
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index ec4bfeb4887c..86a615c6fd2b 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -461,7 +461,7 @@ struct xhci_ep_ctx {
#define EP_STATE_ERROR 4
#define GET_EP_CTX_STATE(ctx) (le32_to_cpu((ctx)->ep_info) & EP_STATE_MASK)
-/* Mult - Max number of burtst within an interval, in EP companion desc. */
+/* Mult - Max number of burst within an interval, in EP companion desc. */
#define EP_MULT(p) (((p) & 0x3) << 8)
#define CTX_TO_EP_MULT(p) (((p) >> 8) & 0x3)
/* bits 10:14 are Max Primary Streams */
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* Re: [PATCH v2 11/22] usb: host: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 11/22] usb: host: " Shunbo Shi
@ 2026-11-10 8:45 ` Michal Pecio
0 siblings, 0 replies; 47+ messages in thread
From: Michal Pecio @ 2026-11-10 8:45 UTC (permalink / raw)
To: Shunbo Shi; +Cc: gregkh, linux-usb, linux-kernel
On Tue, 10 Nov 2026 07:58:14 +0000, Shunbo Shi wrote:
> No functional changes.
>
> Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
Hi,
Not 100% sure, but hasn't Greg KH indicated no interest in such patches
for drivers outside of staging?
I don't like them either, IMO the noise added to git-blame is usually
more annoying in practice than original errors.
> - * long delay for the handshake of STS_HALT is neeed in xhci_suspend()
> + * long delay for the handshake of STS_HALT is need in xhci_suspend()
> -/* Mult - Max number of burtst within an interval, in EP companion desc. */
> +/* Mult - Max number of burst within an interval, in EP companion desc. */
So words that don't exist have been replaced with words that exist.
But the text is still wrong.
These are just two random examples near the end, I haven't read even
a fraction of the whole thing.
Another issue I have seen in those patches are fixes to comments that
aren't even true anymore, but the author has no idea of course.
Regards,
Michal
^ permalink raw reply [flat|nested] 47+ messages in thread
* [PATCH v2 12/22] usb: image: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (10 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 11/22] usb: host: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 13/22] usb: isp1760: " Shunbo Shi
` (9 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/image/mdc800.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/image/mdc800.c b/drivers/usb/image/mdc800.c
index f7caa1c5cbb7..72cab4bfe01b 100644
--- a/drivers/usb/image/mdc800.c
+++ b/drivers/usb/image/mdc800.c
@@ -59,7 +59,7 @@
* has been removed.
*
* version 0.6.0
- * Rewrite of this driver: The Emulation of the rs232 protocoll
+ * Rewrite of this driver: The Emulation of the rs232 protocol
* has been removed from the driver. A special executeCommand function
* for this driver is included to gphoto.
* The driver supports two kind of communication to bulk endpoints.
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 13/22] usb: isp1760: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (11 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 12/22] usb: image: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 14/22] usb: misc: " Shunbo Shi
` (8 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/isp1760/isp1760-if.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/isp1760/isp1760-if.c b/drivers/usb/isp1760/isp1760-if.c
index a64190addba6..e09d509b4de0 100644
--- a/drivers/usb/isp1760/isp1760-if.c
+++ b/drivers/usb/isp1760/isp1760-if.c
@@ -94,7 +94,7 @@ static int isp1761_pci_init(struct pci_dev *dev)
return -ENOMEM;
}
- /* Grab the PLX PCI mem maped port start address we need */
+ /* Grab the PLX PCI mem mapped port start address we need */
mem_start = pci_resource_start(dev, 0);
mem_length = pci_resource_len(dev, 0);
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 14/22] usb: misc: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (12 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 13/22] usb: isp1760: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 15/22] usb: musb: " Shunbo Shi
` (7 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/misc/emi26.c | 2 +-
drivers/usb/misc/emi62.c | 2 +-
drivers/usb/misc/ldusb.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/misc/emi26.c b/drivers/usb/misc/emi26.c
index 24d841850e05..a0fd80082043 100644
--- a/drivers/usb/misc/emi26.c
+++ b/drivers/usb/misc/emi26.c
@@ -198,7 +198,7 @@ static int emi26_load_firmware (struct usb_device *dev)
goto wraperr;
msleep(250); /* let device settle */
- /* return 1 to fail the driver inialization
+ /* return 1 to fail the driver initialization
* and give real driver change to load */
err = 1;
diff --git a/drivers/usb/misc/emi62.c b/drivers/usb/misc/emi62.c
index 3eea60437f56..d29b5312f627 100644
--- a/drivers/usb/misc/emi62.c
+++ b/drivers/usb/misc/emi62.c
@@ -211,7 +211,7 @@ static int emi62_load_firmware (struct usb_device *dev)
kfree(buf);
- /* return 1 to fail the driver inialization
+ /* return 1 to fail the driver initialization
* and give real driver change to load */
return 1;
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c
index 71132a15e771..1072abab9659 100644
--- a/drivers/usb/misc/ldusb.c
+++ b/drivers/usb/misc/ldusb.c
@@ -2,7 +2,7 @@
/*
* Generic USB driver for report based interrupt in/out devices
* like LD Didactic's USB devices. LD Didactic's USB devices are
- * HID devices which do not use HID report definitons (they use
+ * HID devices which do not use HID report definitions (they use
* raw interrupt in and our reports only for communication).
*
* This driver uses a ring buffer for time critical reading of
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 15/22] usb: musb: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (13 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 14/22] usb: misc: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 16/22] usb: phy: " Shunbo Shi
` (6 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/musb/musb_host.c | 2 +-
drivers/usb/musb/tusb6010.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
index 31b061248991..b8a502d2b08b 100644
--- a/drivers/usb/musb/musb_host.c
+++ b/drivers/usb/musb/musb_host.c
@@ -65,7 +65,7 @@
* (Yes, bulk _could_ use more of the endpoints than that, and would even
* benefit from it.)
*
- * INTERUPPT and ISOCHRONOUS transfers are scheduled to the other endpoints.
+ * INTERRUPT and ISOCHRONOUS transfers are scheduled to the other endpoints.
* So far that scheduling is both dumb and optimistic: the endpoint will be
* "claimed" until its software queue is no longer refilled. No multiplexing
* of transfers between endpoints, or anything clever.
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c
index 1d9571f24a56..6a86bebc24ca 100644
--- a/drivers/usb/musb/tusb6010.c
+++ b/drivers/usb/musb/tusb6010.c
@@ -941,7 +941,7 @@ static void tusb_musb_enable(struct musb *musb)
musb_writel(tbase, TUSB_DMA_INT_MASK, 0x7fffffff);
musb_writel(tbase, TUSB_GPIO_INT_MASK, 0x1ff);
- /* Clear all subsystem interrups */
+ /* Clear all subsystem interrupts */
musb_writel(tbase, TUSB_USBIP_INT_CLEAR, 0x7fffffff);
musb_writel(tbase, TUSB_DMA_INT_CLEAR, 0x7fffffff);
musb_writel(tbase, TUSB_GPIO_INT_CLEAR, 0x1ff);
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 16/22] usb: phy: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (14 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 15/22] usb: musb: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 17/22] usb: renesas_usbhs: " Shunbo Shi
` (5 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/phy/phy-fsl-usb.c | 2 +-
drivers/usb/phy/phy.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/phy/phy-fsl-usb.c b/drivers/usb/phy/phy-fsl-usb.c
index 1986f7e9d9be..96f206351c3f 100644
--- a/drivers/usb/phy/phy-fsl-usb.c
+++ b/drivers/usb/phy/phy-fsl-usb.c
@@ -166,7 +166,7 @@ static void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on)
}
/*
- * Pull-up D+, signalling connect by periperal. Also used in
+ * Pull-up D+, signalling connect by peripheral. Also used in
* data-line pulsing in SRP
*/
static void fsl_otg_loc_conn(struct otg_fsm *fsm, int on)
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
index 5a9b9353f343..4cabb2cfbdf9 100644
--- a/drivers/usb/phy/phy.c
+++ b/drivers/usb/phy/phy.c
@@ -202,7 +202,7 @@ static void __usb_phy_get_charger_type(struct usb_phy *usb_phy)
* @state: the cable state
* @data: private data
*
- * Determin the charger type from extcon subsystem which also means the
+ * Determine the charger type from extcon subsystem which also means the
* charger state has been chaned, then we should notify this event.
*/
static int usb_phy_get_charger_type(struct notifier_block *nb,
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 17/22] usb: renesas_usbhs: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (15 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 16/22] usb: phy: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 18/22] usb: roles: " Shunbo Shi
` (4 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/renesas_usbhs/mod_gadget.c | 2 +-
drivers/usb/renesas_usbhs/mod_host.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c
index 0c7fe109d5c7..92f4f35f8bb1 100644
--- a/drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/drivers/usb/renesas_usbhs/mod_gadget.c
@@ -852,7 +852,7 @@ static int usbhsg_try_start(struct usbhs_priv *priv, u32 status)
usbhs_pipe_config_update(dcp->pipe, 0, 0, 64);
/*
- * system config enble
+ * system config enable
* - HI speed
* - function
* - usb module
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c
index f7ef3a9f82a4..1a35f54203c0 100644
--- a/drivers/usb/renesas_usbhs/mod_host.c
+++ b/drivers/usb/renesas_usbhs/mod_host.c
@@ -1319,7 +1319,7 @@ static int usbhsh_irq_attch(struct usbhs_priv *priv,
usbhsh_port_stat_set(hpriv, USB_PORT_STAT_C_CONNECTION << 16);
/*
- * attch interrupt might happen infinitely on some device
+ * attach interrupt might happen infinitely on some device
* (on self power USB hub ?)
* disable it here.
*
@@ -1347,7 +1347,7 @@ static int usbhsh_irq_dtch(struct usbhs_priv *priv,
usbhsh_port_stat_set(hpriv, USB_PORT_STAT_C_CONNECTION << 16);
/*
- * enable attch interrupt again
+ * enable attach interrupt again
*
* usbhsh_is_running() becomes invalid
* according to this process.
@@ -1468,7 +1468,7 @@ static int usbhsh_start(struct usbhs_priv *priv)
usbhsh_pipe_init_for_host(priv);
/*
- * system config enble
+ * system config enable
* - HI speed
* - host
* - usb module
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 18/22] usb: roles: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (16 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 17/22] usb: renesas_usbhs: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 19/22] usb: serial: " Shunbo Shi
` (3 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/roles/class.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/roles/class.c b/drivers/usb/roles/class.c
index edec139b68b5..8ea703e63ffb 100644
--- a/drivers/usb/roles/class.c
+++ b/drivers/usb/roles/class.c
@@ -414,7 +414,7 @@ usb_role_switch_register(struct device *parent,
EXPORT_SYMBOL_GPL(usb_role_switch_register);
/**
- * usb_role_switch_unregister - Unregsiter USB Role Switch
+ * usb_role_switch_unregister - Unregister USB Role Switch
* @sw: USB Role Switch
*
* Unregister switch that was registered with usb_role_switch_register().
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 19/22] usb: serial: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (17 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 18/22] usb: roles: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 20/22] usb: storage: " Shunbo Shi
` (2 subsequent siblings)
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/serial/cypress_m8.c | 2 +-
drivers/usb/serial/f81534.c | 8 ++++----
drivers/usb/serial/mos7720.c | 2 +-
drivers/usb/serial/oti6858.c | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c
index 78fb1389b34c..bd9b68b691de 100644
--- a/drivers/usb/serial/cypress_m8.c
+++ b/drivers/usb/serial/cypress_m8.c
@@ -462,7 +462,7 @@ static int cypress_generic_port_probe(struct usb_serial_port *port)
return -ENOMEM;
}
- /* Skip reset for FRWD device. It is a workaound:
+ /* Skip reset for FRWD device. It is a workaround:
device hangs if it receives SET_CONFIGURE in Configured
state. */
if (!is_frwd(serial->dev))
diff --git a/drivers/usb/serial/f81534.c b/drivers/usb/serial/f81534.c
index 0037767e4bbf..502c1c0260ec 100644
--- a/drivers/usb/serial/f81534.c
+++ b/drivers/usb/serial/f81534.c
@@ -83,7 +83,7 @@
#define F81534_TOKEN_MSR_CHANGE 0x04
/*
- * We used interal SPI bus to access FLASH section. We must wait the SPI bus to
+ * We used internal SPI bus to access FLASH section. We must wait the SPI bus to
* idle if we performed any command.
*
* SPI Bus status register: F81534_BUS_REG_STATUS
@@ -755,7 +755,7 @@ static int f81534_find_config_idx(struct usb_serial *serial, u8 *index)
* The F81532/534 will not report serial port to USB serial subsystem when
* H/W DCD/DSR/CTS/RI/RX pin connected to ground.
*
- * To detect RX pin status, we'll enable MCR interal loopback, disable it and
+ * To detect RX pin status, we'll enable MCR internal loopback, disable it and
* delayed for 60ms. It connected to ground If LSR register report UART_LSR_BI.
*/
static bool f81534_check_port_hw_disabled(struct usb_serial *serial, int phy)
@@ -824,9 +824,9 @@ static bool f81534_check_port_hw_disabled(struct usb_serial *serial, int phy)
* f81534_calc_num_ports() will run to final we marked as "oldest version"
* for this IC.
*
- * 2rd is designed to more generic to use any transceiver and this is our
+ * 2nd is designed to more generic to use any transceiver and this is our
* mass production type. We'll save data in F81534_CUSTOM_ADDRESS_START
- * (0x2f00) with 9bytes. The 1st byte is a indicater. If the token is
+ * (0x2f00) with 9bytes. The 1st byte is a indicator. If the token is
* F81534_CUSTOM_VALID_TOKEN(0xf0), the IC is 2nd gen type, the following
* 4bytes save port mode (0:RS232/1:RS485 Invert/2:RS485), and the last
* 4bytes save GPIO state(value from 0~7 to represent 3 GPIO output pin).
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c
index 104f43a8f4d8..312fa11cea95 100644
--- a/drivers/usb/serial/mos7720.c
+++ b/drivers/usb/serial/mos7720.c
@@ -1208,7 +1208,7 @@ static int set_higher_rates(struct moschip_port *mos7720_port,
/***********************************************
* Set for higher rates *
***********************************************/
- /* writing baud rate verbatum into uart clock field clearly not right */
+ /* writing baud rate verbatim into uart clock field clearly not right */
if (port_number == 0)
sp_reg = MOS7720_SP1_REG;
else
diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c
index c6364e8ff71f..0e527fe56da0 100644
--- a/drivers/usb/serial/oti6858.c
+++ b/drivers/usb/serial/oti6858.c
@@ -13,7 +13,7 @@
* Warning! You use this driver on your own risk! The only official
* description of this device I have is datasheet from manufacturer,
* and it doesn't contain almost any information needed to write a driver.
- * Almost all knowlegde used while writing this driver was gathered by:
+ * Almost all knowledge used while writing this driver was gathered by:
* - analyzing traffic between device and the M$ Windows 2000 driver,
* - trying different bit combinations and checking pin states
* with a voltmeter,
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 20/22] usb: storage: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (18 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 19/22] usb: serial: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 21/22] usb: typec: " Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 22/22] usb: usbip: " Shunbo Shi
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/storage/ene_ub6250.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/storage/ene_ub6250.c b/drivers/usb/storage/ene_ub6250.c
index a9358e04ab4b..18d85ee79db8 100644
--- a/drivers/usb/storage/ene_ub6250.c
+++ b/drivers/usb/storage/ene_ub6250.c
@@ -470,7 +470,7 @@ struct ene_ub6250_info {
u32 bl_num;
int SrbStatus;
- /*------Power Managerment ---------------*/
+ /*------Power Management ---------------*/
bool Power_IsResum;
};
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 21/22] usb: typec: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (19 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 20/22] usb: storage: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
2026-11-10 7:58 ` [PATCH v2 22/22] usb: usbip: " Shunbo Shi
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/typec/class.c | 2 +-
drivers/usb/typec/tcpm/tcpm.c | 6 +++---
drivers/usb/typec/tipd/core.c | 2 +-
drivers/usb/typec/ucsi/displayport.c | 2 +-
drivers/usb/typec/ucsi/psy.c | 2 +-
drivers/usb/typec/ucsi/ucsi.h | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/class.c
index 54c7810b563b..ea2564b9eff6 100644
--- a/drivers/usb/typec/class.c
+++ b/drivers/usb/typec/class.c
@@ -564,7 +564,7 @@ static const struct attribute_group *typec_altmode_groups[] = {
* @adev: Handle to the alternate mode
* @ops: Ops for the alternate mode
*
- * After setting ops, attribute visiblity needs to be refreshed if the alternate
+ * After setting ops, attribute visibility needs to be refreshed if the alternate
* mode can be activated.
*/
void typec_altmode_set_ops(struct typec_altmode *adev,
diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
index d721baef5210..dabb91319e8a 100644
--- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -2520,7 +2520,7 @@ static int tcpm_pd_svdm(struct tcpm_port *port, struct typec_altmode *adev,
/*
* PD2.0 Spec 6.10.3: respond with NAK as DFP (data host)
* PD3.1 Spec 6.4.4.2.5.1: respond with NAK if "invalid field" or
- * "wrong configuation" or "Unrecognized"
+ * "wrong configuration" or "Unrecognized"
*/
if ((port->data_role == TYPEC_DEVICE || svdm_version >= SVDM_VER_2_0) &&
port->nr_snk_vdo) {
@@ -4461,7 +4461,7 @@ static int tcpm_pd_select_pdo(struct tcpm_port *port, int *sink_pdo,
/*
* Select the source PDO providing the most power which has a
- * matchig sink cap.
+ * matching sink cap.
*/
for (i = 0; i < port->nr_source_caps; i++) {
u32 pdo = port->source_caps[i];
@@ -5960,7 +5960,7 @@ static void run_state_machine(struct tcpm_port *port)
}
/*
* Although tAvsSrcTransSmall is expected to be used
- * for voltage transistions smaller than 1V, using
+ * for voltage transitions smaller than 1V, using
* tAvsSrcTransLarge to be resilient against chargers
* which strictly cannot honor tAvsSrcTransSmall to
* improve interoperability.
diff --git a/drivers/usb/typec/tipd/core.c b/drivers/usb/typec/tipd/core.c
index 02539378ffed..67471c363a68 100644
--- a/drivers/usb/typec/tipd/core.c
+++ b/drivers/usb/typec/tipd/core.c
@@ -950,7 +950,7 @@ static irqreturn_t cd321x_interrupt(int irq, void *data)
if (!tps->data->read_data_status(tps))
goto err_unlock;
- /* Can be called uncondtionally since it will check for any changes itself */
+ /* Can be called unconditionally since it will check for any changes itself */
cd321x_connect(tps, status);
err_unlock:
diff --git a/drivers/usb/typec/ucsi/displayport.c b/drivers/usb/typec/ucsi/displayport.c
index 572da7bbd29c..56cf7deb2312 100644
--- a/drivers/usb/typec/ucsi/displayport.c
+++ b/drivers/usb/typec/ucsi/displayport.c
@@ -165,7 +165,7 @@ static int ucsi_displayport_status_update(struct ucsi_dp *dp)
dp->data.status = DP_STATUS_ENABLED;
/*
- * If pin assignement D is supported, claiming always
+ * If pin assignment D is supported, claiming always
* that Multi-function is preferred.
*/
if (DP_CAP_CAPABILITY(cap) & DP_CAP_UFP_D) {
diff --git a/drivers/usb/typec/ucsi/psy.c b/drivers/usb/typec/ucsi/psy.c
index c8ebab8ba7e7..8eb1ed42fbbd 100644
--- a/drivers/usb/typec/ucsi/psy.c
+++ b/drivers/usb/typec/ucsi/psy.c
@@ -255,7 +255,7 @@ static int ucsi_psy_get_charge_type(struct ucsi_connector *con, union power_supp
return 0;
}
- /* The Battery Charging Cabability Status field is only valid in sink role. */
+ /* The Battery Charging Capability Status field is only valid in sink role. */
if (UCSI_CONSTAT(con, PWR_DIR) != TYPEC_SINK) {
val->intval = POWER_SUPPLY_CHARGE_TYPE_UNKNOWN;
return 0;
diff --git a/drivers/usb/typec/ucsi/ucsi.h b/drivers/usb/typec/ucsi/ucsi.h
index 1996f04ed5e6..d363e9a64763 100644
--- a/drivers/usb/typec/ucsi/ucsi.h
+++ b/drivers/usb/typec/ucsi/ucsi.h
@@ -509,7 +509,7 @@ struct ucsi {
#define UCSI_NO_PARTNER_PDOS BIT(0) /* Don't read partner's PDOs */
#define UCSI_DELAY_DEVICE_PDOS BIT(1) /* Reading PDOs fails until the parter is in PD mode */
-/* USB4 connection can imply that USB communcation is supported */
+/* USB4 connection can imply that USB communication is supported */
#define UCSI_USB4_IMPLIES_USB BIT(2)
};
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread* [PATCH v2 22/22] usb: usbip: fix a few spelling mistakes in comments
2026-11-10 7:58 ` [PATCH v2 00/22] usb: fix " Shunbo Shi
` (20 preceding siblings ...)
2026-11-10 7:58 ` [PATCH v2 21/22] usb: typec: " Shunbo Shi
@ 2026-11-10 7:58 ` Shunbo Shi
21 siblings, 0 replies; 47+ messages in thread
From: Shunbo Shi @ 2026-11-10 7:58 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel
No functional changes.
Signed-off-by: Shunbo Shi <shishunbo@cmss.chinamobile.com>
---
drivers/usb/usbip/stub.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/usbip/stub.h b/drivers/usb/usbip/stub.h
index d11270560c24..1fea0190de7f 100644
--- a/drivers/usb/usbip/stub.h
+++ b/drivers/usb/usbip/stub.h
@@ -29,7 +29,7 @@ struct stub_device {
* It is allocated as stub_priv_cache and assigned to urb->context.
*
* stub_priv is always linked to any one of 3 lists;
- * priv_init: linked to this until the comletion of a urb.
+ * priv_init: linked to this until the completion of a urb.
* priv_tx : linked to this after the completion of a urb.
* priv_free: linked to this after the sending of the result.
*
--
2.53.0
^ permalink raw reply [flat|nested] 47+ messages in thread