From: Peter Chen Date: Tue, 19 Aug 2014 01:51:52 +0000 (+0800) Subject: usb: hcd: add TPL support flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2693b430b33d9554daa0f21fbcae57633f8d4f1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git usb: hcd: add TPL support flag The targeted hosts (non-PC hosts) need to have TPL (Targeted Peripheral List) for USB OTG & EH certification and other vendor specific requirements. The platform who needs TPL feature should set this flag at usb host controller driver. Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index 485cd5e2100c..a48c89e96988 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h @@ -144,6 +144,7 @@ struct usb_hcd { unsigned has_tt:1; /* Integrated TT in root hub */ unsigned amd_resume_bug:1; /* AMD remote wakeup quirk */ unsigned can_do_streams:1; /* HC supports streams */ + unsigned tpl_support:1; /* OTG & EH TPL support */ unsigned int irq; /* irq allocated */ void __iomem *regs; /* device memory/io */