git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73744a
)
usb: musb: don't set session in musb_start
author
Grazvydas Ignotas
<notasas@gmail.com>
Sat, 23 Mar 2013 00:17:13 +0000
(
02:17
+0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sat, 23 Mar 2013 00:17:13 +0000
(
02:17
+0200)
OMAP glue already does this, and doing it here too causes unneeded
VBUS toggle when starting without cable.
drivers/usb/musb/musb_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_core.c
b/drivers/usb/musb/musb_core.c
index
dd2d742
..
7245b89
100644
(file)
--- a/
drivers/usb/musb/musb_core.c
+++ b/
drivers/usb/musb/musb_core.c
@@
-944,8
+944,8
@@
void musb_start(struct musb *musb)
*/
if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS)
musb->is_active = 1;
- else
-
devctl |= MUSB_DEVCTL_SESSION;
+
//
else
+
//
devctl |= MUSB_DEVCTL_SESSION;
} else if (is_host_enabled(musb)) {
/* assume ID pin is hard-wired to ground */