RE: [PATCH] usb: cdns3: Fix hardware based role switch

2020-11-27 Thread Peter Chen
> Hi Peter, > > On 25/11/2020 14:49, Roger Quadros wrote: > > 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:

Re: [PATCH] usb: cdns3: Fix hardware based role switch

2020-11-27 Thread Roger Quadros
Hi Peter, On 25/11/2020 14:49, Roger Quadros wrote: 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

[PATCH] usb: cdns3: Fix hardware based role switch

2020-11-25 Thread Roger Quadros
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 ---