Loading drivers/usb/core/hub.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -127,7 +127,7 @@ static int usb_device_supports_lpm(struct usb_device *udev) /* USB 2.1 (and greater) devices indicate LPM support through /* USB 2.1 (and greater) devices indicate LPM support through * their USB 2.0 Extended Capabilities BOS descriptor. * their USB 2.0 Extended Capabilities BOS descriptor. */ */ if (udev->speed == USB_SPEED_HIGH) { if (udev->speed == USB_SPEED_HIGH || udev->speed == USB_SPEED_FULL) { if (udev->bos->ext_cap && if (udev->bos->ext_cap && (USB_LPM_SUPPORT & (USB_LPM_SUPPORT & le32_to_cpu(udev->bos->ext_cap->bmAttributes))) le32_to_cpu(udev->bos->ext_cap->bmAttributes))) Loading Loading
drivers/usb/core/hub.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -127,7 +127,7 @@ static int usb_device_supports_lpm(struct usb_device *udev) /* USB 2.1 (and greater) devices indicate LPM support through /* USB 2.1 (and greater) devices indicate LPM support through * their USB 2.0 Extended Capabilities BOS descriptor. * their USB 2.0 Extended Capabilities BOS descriptor. */ */ if (udev->speed == USB_SPEED_HIGH) { if (udev->speed == USB_SPEED_HIGH || udev->speed == USB_SPEED_FULL) { if (udev->bos->ext_cap && if (udev->bos->ext_cap && (USB_LPM_SUPPORT & (USB_LPM_SUPPORT & le32_to_cpu(udev->bos->ext_cap->bmAttributes))) le32_to_cpu(udev->bos->ext_cap->bmAttributes))) Loading