Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1360577
| From | Roger Quadros <rogerq@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/5] usb: host: xhci-plat: enable BROKEN_PE quirk if platform requested |
| Date | 2016-03-18 13:40 +0100 |
| Message-ID | <re1R8-5Nn-17@gated-at.bofh.it> (permalink) |
| References | <re1R7-5Nn-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Felipe Balbi <balbi@kernel.org> In case a broken pe flag is passed in via pdata, we should enable the corresponding BROKEN_PE quirk flag for XHCI core. Signed-off-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Roger Quadros <rogerq@ti.com> --- drivers/usb/host/xhci-plat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index d39d6bf..637d1ae 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -209,6 +209,9 @@ static int xhci_plat_probe(struct platform_device *pdev) (pdata && pdata->usb3_lpm_capable)) xhci->quirks |= XHCI_LPM_SUPPORT; + if (pdata && pdata->quirk_port_broken_pe) + xhci->quirks |= XHCI_BROKEN_PORT_PE; + if (HCC_MAX_PSA(xhci->hcc_params) >= 4) xhci->shared_hcd->can_do_streams = 1; -- 2.5.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] usb: dwc3: xhci: Add quirk for defective Port Enable/disable Roger Quadros <rogerq@ti.com> - 2016-03-18 13:40 +0100 [PATCH 3/5] usb: host: xhci: add broken pe quirk flag to pdata Roger Quadros <rogerq@ti.com> - 2016-03-18 13:40 +0100 [PATCH 4/5] usb: host: xhci-plat: enable BROKEN_PE quirk if platform requested Roger Quadros <rogerq@ti.com> - 2016-03-18 13:40 +0100 Re: [PATCH 0/5] usb: dwc3: xhci: Add quirk for defective Port Enable/disable Felipe Balbi <balbi@kernel.org> - 2016-03-18 14:10 +0100
csiph-web