[PATCH 3/5] usb: host: xhci: add broken pe quirk flag to pdata

From: Roger Quadros
Date: Fri Mar 18 2016 - 08:34:15 EST


From: Felipe Balbi <balbi@xxxxxxxxxx>

Let platform_data users pass broken pe flag to
xhci driver.

Signed-off-by: Felipe Balbi <balbi@xxxxxxxxxx>
Signed-off-by: Sekhar Nori <nsekhar@xxxxxx>
Signed-off-by: Roger Quadros <rogerq@xxxxxx>
---
include/linux/usb/xhci_pdriver.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/usb/xhci_pdriver.h b/include/linux/usb/xhci_pdriver.h
index 376654b..81b15ea 100644
--- a/include/linux/usb/xhci_pdriver.h
+++ b/include/linux/usb/xhci_pdriver.h
@@ -18,10 +18,12 @@
*
* @usb3_lpm_capable: determines if this xhci platform supports USB3
* LPM capability
+ * @quirk_port_broken_pe: If true, XHCI will not use Port Disable.
*
*/
struct usb_xhci_pdata {
unsigned usb3_lpm_capable:1;
+ unsigned quirk_port_broken_pe:1;
};

#endif /* __USB_CORE_XHCI_PDRIVER_H */
--
2.5.0