From: Peter Chen Date: Tue, 19 Aug 2014 01:51:53 +0000 (+0800) Subject: usb: core: TPL should apply for both OTG and EH X-Git-Tag: fixes-for-v3.18-merge-window~16^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=026f3fcbb0fc516e0fd3467318f13a6144e519a7;p=pandora-kernel.git usb: core: TPL should apply for both OTG and EH According to On-The-Go and Embedded Host Supplement to the USB Revision 2.0 Specification, the targeted hosts (non-PC hosts) include both embedded hosts and otg, and each targeted host product defines the set of supported peripherals on a TPL (Targeted Peripheral List). So, TPL should apply for both OTG and embedded host, and the otg support is not a must for embedded host. The TPL support feature will only be effect when CONFIG_USB_OTG_WHITELIST has been chosen and hcd->tpl_support flag is set, it can avoid the enumeration fails problem for the user who chooses CONFIG_USB_OTG_WHITELIST wrongly. Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed