aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-07-19 04:44:06 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-25 05:16:19 -0400
commit79f6fafad4e2a874015cb67d735f9f87f1834367 (patch)
treeca566e6df29e8c21379e49b16f5465d796d137f9
parentbafe64e5f0edaa689e72e2f8dc236641da37fed4 (diff)
Revert "usb: usb251xb: Add US port lanes inversion property"
This property isn't needed and not yet used anywhere. The swap-dx-lanes property is perfectly fine for doing the swap on the upstream port lanes. CC: stable@vger.kernel.org #5.2 Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Link: https://lore.kernel.org/r/20190719084407.28041-2-l.stach@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/misc/usb251xb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/misc/usb251xb.c b/drivers/usb/misc/usb251xb.c
index 4d6ae3795a88..119aeb658c81 100644
--- a/drivers/usb/misc/usb251xb.c
+++ b/drivers/usb/misc/usb251xb.c
@@ -574,8 +574,6 @@ static int usb251xb_get_ofdata(struct usb251xb *hub,
574 hub->port_swap = USB251XB_DEF_PORT_SWAP; 574 hub->port_swap = USB251XB_DEF_PORT_SWAP;
575 usb251xb_get_ports_field(hub, "swap-dx-lanes", data->port_cnt, 575 usb251xb_get_ports_field(hub, "swap-dx-lanes", data->port_cnt,
576 &hub->port_swap); 576 &hub->port_swap);
577 if (of_get_property(np, "swap-us-lanes", NULL))
578 hub->port_swap |= BIT(0);
579 577
580 /* The following parameters are currently not exposed to devicetree, but 578 /* The following parameters are currently not exposed to devicetree, but
581 * may be as soon as needed. 579 * may be as soon as needed.