]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: chipidea: Fixed a few typos in comments
authorMickael Maison <mickael.maison@gmail.com>
Wed, 26 Nov 2014 05:44:38 +0000 (13:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 17:28:13 +0000 (09:28 -0800)
Fixed typos in comments of 2 drivers/usb/chipidea files

Signed-off-by: Mickael Maison <mickael.maison@gmail.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/otg_fsm.c

index 068e0c6acc3f6a47069c2d12b379545e2173ab86..e14eafb2a05e2803e1998d400ed47d76a9527a85 100644 (file)
@@ -549,7 +549,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",
index 7ef124db657aa9ec2f956efc40532ed7b57d1266..562e581f67656fbf13eb72bd175f8766be59599f 100644 (file)
@@ -303,7 +303,7 @@ static void a_wait_vfall_tmout_func(void *ptr, unsigned long indicator)
        set_tmout(ci, indicator);
        /* Disable port power */
        hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, 0);
-       /* Clear exsiting DP irq */
+       /* Clear existing DP irq */
        hw_write_otgsc(ci, OTGSC_DPIS, OTGSC_DPIS);
        /* Enable data pulse irq */
        hw_write_otgsc(ci, OTGSC_DPIE, OTGSC_DPIE);
@@ -663,7 +663,7 @@ static void ci_otg_fsm_event(struct ci_hdrc *ci)
                         fsm->b_bus_suspend = 1;
                        /*
                         * Init a timer to know how long this suspend
-                        * will contine, if time out, indicates B no longer
+                        * will continue, if time out, indicates B no longer
                         * wants to be host role
                         */
                         ci_otg_add_timer(ci, A_BIDL_ADIS);