diff options
| author | Li Jun <[email protected]> | 2015-08-31 16:20:49 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-10-04 10:51:58 +0100 |
| commit | 7d2d641c44269656bf72381c72e2eb50b18a8404 (patch) | |
| tree | 505a3d7a757c41377352b63759328ab4b307699a /tools/perf/scripts/python | |
| 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 <[email protected]>
Acked-by: Peter Chen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions