[PATCH v1] USB: chipidea: correct spelling mistakes in comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes are as follows:
1. Reverted drivers/usb/chipidea/ci_hdrc_pci.c as zeroes and zeros either are acceptable
2. drivers/usb/chipidea/udc.c - transation => transaction

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@xxxxxxxxx>
---
 drivers/usb/chipidea/core.c | 4 ++--
 drivers/usb/chipidea/udc.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 6e73f8c..bfd08b6 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -407,7 +407,7 @@ static int ci_get_platdata(struct device *dev,
 		if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) {
 			return -EPROBE_DEFER;
 		} else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) {
-			/* no vbus regualator is needed */
+			/* no vbus regulator is needed */
 			platdata->reg_vbus = NULL;
 		} else if (IS_ERR(platdata->reg_vbus)) {
 			dev_err(dev, "Getting regulator error: %ld\n",
@@ -631,7 +631,7 @@ static int ci_hdrc_probe(struct platform_device *pdev)
 		} 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.
 			 */
 			ci->role = CI_ROLE_GADGET;
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 69d20fb..5e7d164 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -291,7 +291,7 @@ static int hw_test_and_clear_complete(struct ci_hdrc *ci, int n)
  * hw_test_and_clear_intr_active: test & clear active interrupts (execute
  *                                without interruption)
  *
- * This function returns active interrutps
+ * This function returns active interrupt
  */
 static u32 hw_test_and_clear_intr_active(struct ci_hdrc *ci)
 {
@@ -896,7 +896,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
-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux