|
@@ -4087,7 +4087,7 @@ static int xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd,
|
|
xhci_dbg(xhci, "%s port %d USB2 hardware LPM\n",
|
|
xhci_dbg(xhci, "%s port %d USB2 hardware LPM\n",
|
|
enable ? "enable" : "disable", port_num + 1);
|
|
enable ? "enable" : "disable", port_num + 1);
|
|
|
|
|
|
- if (enable) {
|
|
|
|
|
|
+ if (enable && !(xhci->quirks & XHCI_HW_LPM_DISABLE)) {
|
|
/* Host supports BESL timeout instead of HIRD */
|
|
/* Host supports BESL timeout instead of HIRD */
|
|
if (udev->usb2_hw_lpm_besl_capable) {
|
|
if (udev->usb2_hw_lpm_besl_capable) {
|
|
/* if device doesn't have a preferred BESL value use a
|
|
/* if device doesn't have a preferred BESL value use a
|