staging: dwc2: Fix typo in staging/dwc2
authorMasanari Iida <standby24x7@gmail.com>
Fri, 13 Sep 2013 14:34:36 +0000 (23:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:47:46 +0000 (07:47 -0700)
Correct spelling typo in comments

Singend-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/core.c
drivers/staging/dwc2/hcd_queue.c

index 06dae67a9d6294499ebf5926a7734bd56e1dc1ec..8dbd174c91293608d1aa1663880ef1bfce3fd0a6 100644 (file)
@@ -564,7 +564,7 @@ void dwc2_core_host_init(struct dwc2_hsotg *hsotg)
 
        /*
         * This bit allows dynamic reloading of the HFIR register during
-        * runtime. This bit needs to be programmed during inital configuration
+        * runtime. This bit needs to be programmed during initial configuration
         * and its value must not be changed during runtime.
         */
        if (hsotg->core_params->reload_ctl > 0) {
index b1980ef28fa30ce2581e7a3516a4e5ee807e5a8d..c09b2db2c89a042766d4b947d9e1590ff01be33e 100644 (file)
@@ -251,12 +251,12 @@ void dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
  *
  * @hsotg: The HCD state structure for the DWC OTG controller
  *
- * Return: 0 if successful, negative error code otherise
+ * Return: 0 if successful, negative error code otherwise
  */
 static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg)
 {
        /*
-        * Currently assuming that there is a dedicated host channnel for
+        * Currently assuming that there is a dedicated host channel for
         * each periodic transaction plus at least one host channel for
         * non-periodic transactions
         */