We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16fde3e commit e70d267Copy full SHA for e70d267
drivers/phy/tegra/xusb.c
@@ -699,6 +699,8 @@ static int tegra_xusb_setup_usb_role_switch(struct tegra_xusb_port *port)
699
return -ENOMEM;
700
701
lane = tegra_xusb_find_lane(port->padctl, "usb2", port->index);
702
+ if (IS_ERR(lane))
703
+ return PTR_ERR(lane);
704
705
/*
706
* Assign phy dev to usb-phy dev. Host/device drivers can use phy
0 commit comments