[PATCH 2/2] usb: hub: increase HUB_DEBOUNCE_TIMEOUT
Marek Vasut
marex at denx.de
Thu Sep 8 13:44:55 CEST 2022
On 9/8/22 13:20, Patrick DELAUNAY wrote:
[...]
>>> diff --git a/common/usb_hub.c b/common/usb_hub.c
>>> index d73638950b9..e681f1b3073 100644
>>> --- a/common/usb_hub.c
>>> +++ b/common/usb_hub.c
>>> @@ -47,7 +47,7 @@
>>> #define HUB_SHORT_RESET_TIME 20
>>> #define HUB_LONG_RESET_TIME 200
>>> -#define HUB_DEBOUNCE_TIMEOUT 1000
>>> +#define HUB_DEBOUNCE_TIMEOUT 2000
>>
>> Do you think it is possible to make this somehow dynamic , so not all
>> devices would wait so long ?
>
>
> Yes I do it in V2.
Thank you
Maybe this should be a DT property of some regulator or some such.
More information about the U-Boot
mailing list