On Tue, Apr 22, 2014 at 09:57:29AM +0530, Pratyush Anand wrote: > 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.an...@st.com> > Tested-by: Aymen Bouattay <aymen.bouat...@st.com> > --- > 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;
weird... what sort of changes do you have which you didn't send yet ? dwc3/host.c does not create the xHCI device. dwc3_host_init() is basically a wrapper to platform_add_device() -- balbi
signature.asc
Description: Digital signature