diff options
author | Mickael Maison <mickael.maison@gmail.com> | 2014-11-26 00:44:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 12:28:13 -0500 |
commit | 6629467ba5502cac22d31950e207a0334f2a0de5 (patch) | |
tree | fd3aee2651a7d42994c66dd4bec79faa12f6f58c | |
parent | d7d30c911dd957e274c3da6910d4286862ab1d78 (diff) |
usb: chipidea: Fixed a few typos in comments
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>
-rw-r--r-- | drivers/usb/chipidea/core.c | 2 | ||||
-rw-r--r-- | drivers/usb/chipidea/otg_fsm.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 068e0c6acc3f..e14eafb2a05e 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c | |||
@@ -549,7 +549,7 @@ static int ci_get_platdata(struct device *dev, | |||
549 | if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { | 549 | if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { |
550 | return -EPROBE_DEFER; | 550 | return -EPROBE_DEFER; |
551 | } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { | 551 | } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { |
552 | /* no vbus regualator is needed */ | 552 | /* no vbus regulator is needed */ |
553 | platdata->reg_vbus = NULL; | 553 | platdata->reg_vbus = NULL; |
554 | } else if (IS_ERR(platdata->reg_vbus)) { | 554 | } else if (IS_ERR(platdata->reg_vbus)) { |
555 | dev_err(dev, "Getting regulator error: %ld\n", | 555 | dev_err(dev, "Getting regulator error: %ld\n", |
diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c index 7ef124db657a..562e581f6765 100644 --- a/drivers/usb/chipidea/otg_fsm.c +++ b/drivers/usb/chipidea/otg_fsm.c | |||
@@ -303,7 +303,7 @@ static void a_wait_vfall_tmout_func(void *ptr, unsigned long indicator) | |||
303 | set_tmout(ci, indicator); | 303 | set_tmout(ci, indicator); |
304 | /* Disable port power */ | 304 | /* Disable port power */ |
305 | hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, 0); | 305 | hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, 0); |
306 | /* Clear exsiting DP irq */ | 306 | /* Clear existing DP irq */ |
307 | hw_write_otgsc(ci, OTGSC_DPIS, OTGSC_DPIS); | 307 | hw_write_otgsc(ci, OTGSC_DPIS, OTGSC_DPIS); |
308 | /* Enable data pulse irq */ | 308 | /* Enable data pulse irq */ |
309 | hw_write_otgsc(ci, OTGSC_DPIE, OTGSC_DPIE); | 309 | hw_write_otgsc(ci, OTGSC_DPIE, OTGSC_DPIE); |
@@ -663,7 +663,7 @@ static void ci_otg_fsm_event(struct ci_hdrc *ci) | |||
663 | fsm->b_bus_suspend = 1; | 663 | fsm->b_bus_suspend = 1; |
664 | /* | 664 | /* |
665 | * Init a timer to know how long this suspend | 665 | * Init a timer to know how long this suspend |
666 | * will contine, if time out, indicates B no longer | 666 | * will continue, if time out, indicates B no longer |
667 | * wants to be host role | 667 | * wants to be host role |
668 | */ | 668 | */ |
669 | ci_otg_add_timer(ci, A_BIDL_ADIS); | 669 | ci_otg_add_timer(ci, A_BIDL_ADIS); |