Loading drivers/usb/core/hub.c +4 −2 Original line number Diff line number Diff line Loading @@ -3568,7 +3568,9 @@ int usb_port_resume(struct usb_device *udev, pm_message_t msg) /* drive resume for USB_RESUME_TIMEOUT msec */ dev_dbg(&udev->dev, "usb %sresume\n", (PMSG_IS_AUTO(msg) ? "auto-" : "")); msleep(USB_RESUME_TIMEOUT); if (udev->parent != udev->bus->root_hub) usleep_range(USB_RESUME_TIMEOUT * 1000, (USB_RESUME_TIMEOUT + 1) * 1000); /* Virtual root hubs can trigger on GET_PORT_STATUS to * stop resume signaling. Then finish the resume Loading @@ -3577,7 +3579,7 @@ int usb_port_resume(struct usb_device *udev, pm_message_t msg) status = hub_port_status(hub, port1, &portstatus, &portchange); /* TRSMRCY = 10 msec */ msleep(10); usleep_range(10000, 10500); } SuspendCleared: Loading include/linux/usb.h +1 −1 Original line number Diff line number Diff line Loading @@ -309,7 +309,7 @@ void usb_put_intf(struct usb_interface *intf); * should cope with both LPJ calibration errors and devices not following every * detail of the USB Specification. */ #define USB_RESUME_TIMEOUT 40 /* ms */ #define USB_RESUME_TIMEOUT 20 /* ms */ /** * struct usb_interface_cache - long-term representation of a device interface Loading Loading
drivers/usb/core/hub.c +4 −2 Original line number Diff line number Diff line Loading @@ -3568,7 +3568,9 @@ int usb_port_resume(struct usb_device *udev, pm_message_t msg) /* drive resume for USB_RESUME_TIMEOUT msec */ dev_dbg(&udev->dev, "usb %sresume\n", (PMSG_IS_AUTO(msg) ? "auto-" : "")); msleep(USB_RESUME_TIMEOUT); if (udev->parent != udev->bus->root_hub) usleep_range(USB_RESUME_TIMEOUT * 1000, (USB_RESUME_TIMEOUT + 1) * 1000); /* Virtual root hubs can trigger on GET_PORT_STATUS to * stop resume signaling. Then finish the resume Loading @@ -3577,7 +3579,7 @@ int usb_port_resume(struct usb_device *udev, pm_message_t msg) status = hub_port_status(hub, port1, &portstatus, &portchange); /* TRSMRCY = 10 msec */ msleep(10); usleep_range(10000, 10500); } SuspendCleared: Loading
include/linux/usb.h +1 −1 Original line number Diff line number Diff line Loading @@ -309,7 +309,7 @@ void usb_put_intf(struct usb_interface *intf); * should cope with both LPJ calibration errors and devices not following every * detail of the USB Specification. */ #define USB_RESUME_TIMEOUT 40 /* ms */ #define USB_RESUME_TIMEOUT 20 /* ms */ /** * struct usb_interface_cache - long-term representation of a device interface Loading