|
@@ -418,7 +418,7 @@ tegra_xusb_port_find_lane(struct tegra_xusb_port *port,
|
|
{
|
|
{
|
|
struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV);
|
|
struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV);
|
|
|
|
|
|
- for (map = map; map->type; map++) {
|
|
|
|
|
|
+ for (; map->type; map++) {
|
|
if (port->index != map->port)
|
|
if (port->index != map->port)
|
|
continue;
|
|
continue;
|
|
|
|
|