[PATCH 3/4] dwc3: host: Set xhci lpm support quirk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All dwc3 based xhci host controller supports USB3.0 LPM functionality.
Therefore enable quirk flag to support it for dwc3 xhci host driver.

Signed-off-by: Pratyush Anand <pratyush.anand@xxxxxx>
Tested-by: Aymen Bouattay <aymen.bouattay@xxxxxx>
---
 drivers/usb/dwc3/host.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c
index a362ed9..b0e4669 100644
--- a/drivers/usb/dwc3/host.c
+++ b/drivers/usb/dwc3/host.c
@@ -86,6 +86,7 @@ int dwc3_host_init(struct dwc3 *dwc)
 	hcd = platform_get_drvdata(xhci);
 	xhci_dev = hcd_to_xhci(hcd);
 	xhci_dev->shared_hcd->phy = dwc->usb3_phy;
+	xhci_dev->quirks |= XHCI_LPM_SUPPORT;
 
 	return 0;
 
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux