Commit 73b07c425eac99f608830a3777396ad06e8d7d28

Authored by George Cherian
Committed by Sekhar Nori
1 parent 99afef5cf9

usb: dwc3: host: Pass the XHCI_DRD_SUPPORT and XHCI_NEEDS_LHC_RESET quirk

Pass the quir flag XHCI_DRD_SUPPORT from DWC3 host to xhci platform driver.
This enables xhci driver to handle deallocation's differently while in DRD mode.
Pass the quirk flag XHCI_NEEDS_LHC_RESET from DWC3 host to xhci platform
driver. This enables to do LHRESET during xhci_reset().

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

drivers/usb/dwc3/host.c
... ... @@ -53,6 +53,8 @@
53 53 #ifdef CONFIG_DWC3_HOST_USB3_LPM_ENABLE
54 54 pdata.usb3_lpm_capable = 1;
55 55 #endif
  56 + pdata.usb_drd_support = 1;
  57 + pdata.usb_needs_lhc_reset = 1;
56 58  
57 59 ret = platform_device_add_data(xhci, &pdata, sizeof(pdata));
58 60 if (ret) {