phy: tegra: xusb: Enable usb role switch attribute
Subsystems (4)
PATCH v2 1/1 phy: tegra: xusb: Enable usb role switch attribute
This patch enables the usb-role-switch attribute to have the user-space check current device role of otg capability ports
Signed-off-by Haotien Hsu <[email protected]>
---V1->V2
- Fix typo and changelog limit
--- drivers/phy/tegra/xusb.c | 1 + 1 file changed, 1 insertion(+)
drivers/phy/tegra/xusb.c +1 -0
@@ -656,6 +656,7 @@ static int tegra_xusb_setup_usb_role_switch(struct tegra_xusb_port *port)struct usb_role_switch_desc role_sx_desc = { .fwnode =dev_fwnode (&port->dev), .set = tegra_xusb_role_sw_set, + .allow_userspace_control = true, };int err =0 ;
Signature · 1 line
2.25.1