diff options
author | 2020-11-25 14:49:36 +0200 | |
---|---|---|
committer | 2020-11-30 13:48:32 +0800 | |
commit | 6703052fe30fa0d85f1fbbf50171486cb0148d2d (patch) | |
tree | 75ed8cc57dcad37d3a324e369ef2ff42fb8750d4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | USB: core: Change %pK for __user pointers to %px (diff) | |
download | wireguard-linux-6703052fe30fa0d85f1fbbf50171486cb0148d2d.tar.xz wireguard-linux-6703052fe30fa0d85f1fbbf50171486cb0148d2d.zip |
usb: cdns3: Fix hardware based role switch
Hardware based role switch is broken as the driver always skips it.
Fix this by registering for SW role switch only if 'usb-role-switch'
property is present in the device tree.
Fixes: 50642709f659 ("usb: cdns3: core: quit if it uses role switch class")
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions