projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3520d46
)
usb: chipidea: otg_fsm: delete the duplicated reset controller operation
author
Peter Chen
<peter.chen@freescale.com>
Wed, 15 Jul 2015 05:56:26 +0000
(13:56 +0800)
committer
Peter Chen
<peter.chen@freescale.com>
Fri, 14 Aug 2015 01:13:11 +0000
(09:13 +0800)
At host_stop, it will call usb_remove_hcd, and reset controller later.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/chipidea/otg_fsm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/chipidea/otg_fsm.c
b/drivers/usb/chipidea/otg_fsm.c
index 19d655a743b55eb8e17f4308bc722a40bfe4e505..00ab59d45da1bf6708b3d77e3cfcfe31ac4e2304 100644
(file)
--- a/
drivers/usb/chipidea/otg_fsm.c
+++ b/
drivers/usb/chipidea/otg_fsm.c
@@
-525,7
+525,6
@@
static int ci_otg_start_host(struct otg_fsm *fsm, int on)
ci_role_start(ci, CI_ROLE_HOST);
} else {
ci_role_stop(ci);
- hw_device_reset(ci);
ci_role_start(ci, CI_ROLE_GADGET);
}
return 0;