projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'amdtee-fixes-for-v5.13' of git://git.linaro.org/people/jens.wiklander...
[linux-2.6-microblaze.git]
/
drivers
/
usb
/
core
/
hub.h
diff --git
a/drivers/usb/core/hub.h
b/drivers/usb/core/hub.h
index
73f4482
..
22ea1f4
100644
(file)
--- a/
drivers/usb/core/hub.h
+++ b/
drivers/usb/core/hub.h
@@
-148,8
+148,10
@@
static inline unsigned hub_power_on_good_delay(struct usb_hub *hub)
{
unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2;
{
unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2;
- /* Wait at least 100 msec for power to become stable */
- return max(delay, 100U);
+ if (!hub->hdev->parent) /* root hub */
+ return delay;
+ else /* Wait at least 100 msec for power to become stable */
+ return max(delay, 100U);
}
static inline int hub_port_debounce_be_connected(struct usb_hub *hub,
}
static inline int hub_port_debounce_be_connected(struct usb_hub *hub,