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

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

 



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.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;

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

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux