From: Pratyush Anand Date: Fri, 4 Jul 2014 14:01:23 +0000 (+0300) Subject: xhci: A default implementation for Ux timeout calculation and tier policy check X-Git-Tag: omap-for-v3.17/fixes-against-rc2~164^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9502c46cc9d39330b29d9dc27d8baff4f55d0abc;p=pandora-kernel.git xhci: A default implementation for Ux timeout calculation and tier policy check As best case, a host controller should support U0 to U1 switching for the devices connected below any tier of hub level supported by usb specification. Therefore xhci_check_tier_policy should always return success as default implementation. A host should be able to issue LGO_Ux after the timeout calculated as per definition of system exit latency defined in C.1.5.2. Therefore xhci_calculate_ux_timeout returns ux_params.sel as the default implementation. Use default calculation in absence of any vendor specific limitations. Signed-off-by: Pratyush Anand Tested-by: Aymen Bouattay Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed