提交 6629467b 编写于 作者: M Mickael Maison 提交者: Greg Kroah-Hartman

usb: chipidea: Fixed a few typos in comments

Fixed typos in comments of 2 drivers/usb/chipidea files
Signed-off-by: NMickael Maison <mickael.maison@gmail.com>
Signed-off-by: NPeter Chen <peter.chen@freescale.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d7d30c91
...@@ -549,7 +549,7 @@ static int ci_get_platdata(struct device *dev, ...@@ -549,7 +549,7 @@ static int ci_get_platdata(struct device *dev,
if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) {
return -EPROBE_DEFER; return -EPROBE_DEFER;
} else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) {
/* no vbus regualator is needed */ /* no vbus regulator is needed */
platdata->reg_vbus = NULL; platdata->reg_vbus = NULL;
} else if (IS_ERR(platdata->reg_vbus)) { } else if (IS_ERR(platdata->reg_vbus)) {
dev_err(dev, "Getting regulator error: %ld\n", dev_err(dev, "Getting regulator error: %ld\n",
......
...@@ -303,7 +303,7 @@ static void a_wait_vfall_tmout_func(void *ptr, unsigned long indicator) ...@@ -303,7 +303,7 @@ static void a_wait_vfall_tmout_func(void *ptr, unsigned long indicator)
set_tmout(ci, indicator); set_tmout(ci, indicator);
/* Disable port power */ /* Disable port power */
hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, 0); 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); hw_write_otgsc(ci, OTGSC_DPIS, OTGSC_DPIS);
/* Enable data pulse irq */ /* Enable data pulse irq */
hw_write_otgsc(ci, OTGSC_DPIE, OTGSC_DPIE); hw_write_otgsc(ci, OTGSC_DPIE, OTGSC_DPIE);
...@@ -663,7 +663,7 @@ static void ci_otg_fsm_event(struct ci_hdrc *ci) ...@@ -663,7 +663,7 @@ static void ci_otg_fsm_event(struct ci_hdrc *ci)
fsm->b_bus_suspend = 1; fsm->b_bus_suspend = 1;
/* /*
* Init a timer to know how long this suspend * 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 * wants to be host role
*/ */
ci_otg_add_timer(ci, A_BIDL_ADIS); ci_otg_add_timer(ci, A_BIDL_ADIS);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册