projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
musb: set MUSB speed based on CONFIG
[platform/kernel/u-boot.git]
/
drivers
/
usb
/
musb-new
/
musb_core.c
diff --git
a/drivers/usb/musb-new/musb_core.c
b/drivers/usb/musb-new/musb_core.c
index
aa647e6
..
da93571
100644
(file)
--- a/
drivers/usb/musb-new/musb_core.c
+++ b/
drivers/usb/musb-new/musb_core.c
@@
-943,7
+943,9
@@
void musb_start(struct musb *musb)
/* put into basic highspeed mode and start session */
musb_writeb(regs, MUSB_POWER, MUSB_POWER_ISOUPDATE
+#ifdef CONFIG_USB_GADGET_DUALSPEED
| MUSB_POWER_HSENAB
+#endif
/* ENSUSPEND wedges tusb */
/* | MUSB_POWER_ENSUSPEND */
);