Skip to content

Commit 79f6faf

Browse files
lynxeye-devgregkh
authored andcommitted
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: [email protected] #5.2 Signed-off-by: Lucas Stach <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent bafe64e commit 79f6faf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/usb/misc/usb251xb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,6 @@ static int usb251xb_get_ofdata(struct usb251xb *hub,
574574
hub->port_swap = USB251XB_DEF_PORT_SWAP;
575575
usb251xb_get_ports_field(hub, "swap-dx-lanes", data->port_cnt,
576576
&hub->port_swap);
577-
if (of_get_property(np, "swap-us-lanes", NULL))
578-
hub->port_swap |= BIT(0);
579577

580578
/* The following parameters are currently not exposed to devicetree, but
581579
* may be as soon as needed.

0 commit comments

Comments
 (0)