Skip to content

Commit

Permalink
usb: increase USB_PORT_RESET_RECOVERY
Browse files Browse the repository at this point in the history
10ms seems to be too strict for some configurations, so increase to
20ms.

Reviewed by: imp
Pull Request: freebsd#1327
  • Loading branch information
VexedUXR authored and bsdimp committed Sep 6, 2024
1 parent 8792518 commit c982462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/usb/usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ MALLOC_DECLARE(M_USBDEV);
/* Allow for marginal and non-conforming devices. */
#define USB_PORT_RESET_DELAY 50 /* ms */
#define USB_PORT_ROOT_RESET_DELAY 200 /* ms */
#define USB_PORT_RESET_RECOVERY 10 /* ms */
#define USB_PORT_RESET_RECOVERY 20 /* ms */
#define USB_PORT_POWERUP_DELAY 300 /* ms */
#define USB_PORT_RESUME_DELAY (20*2) /* ms */
#define USB_SET_ADDRESS_SETTLE 10 /* ms */
Expand Down

0 comments on commit c982462

Please sign in to comment.