diff options
author | Li Jun <jun.li@freescale.com> | 2015-08-31 16:20:49 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 10:51:58 +0100 |
commit | 7d2d641c44269656bf72381c72e2eb50b18a8404 (patch) | |
tree | 505a3d7a757c41377352b63759328ab4b307699a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9766f2517e55338ab546891c4bfff6666ffacaea (diff) |
usb: otg: don't set a_alt_hnp_support feature for OTG 2.0 device
Since a_alt_hnp_support is obsolete in OTG 2.0, HNP capable host should
send this set feature request only if the otg device is connecting to a
non-HNP port and it's compliant with OTG 1.x revision. This is done by
checking its otg descriptor length, OTG 2.0 uses usb_otg20_descriptor
which has different length than OTG 1.x using usb_otg_descriptor.
Signed-off-by: Li Jun <jun.li@freescale.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions