Skip to content
Unverified Commit 6703052f authored by Roger Quadros's avatar Roger Quadros Committed by Peter Chen
Browse files

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: 50642709 ("usb: cdns3: core: quit if it uses role switch class")
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent f3bc432a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment