projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c061554
)
Revert "usb: usb251xb: Add US port lanes inversion property"
author
Lucas Stach
<l.stach@pengutronix.de>
Fri, 19 Jul 2019 08:44:06 +0000
(10:44 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 31 Jul 2019 05:24:56 +0000
(07:24 +0200)
commit
79f6fafad4e2a874015cb67d735f9f87f1834367
upstream.
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>
drivers/usb/misc/usb251xb.c
patch
|
blob
|
history
diff --git
a/drivers/usb/misc/usb251xb.c
b/drivers/usb/misc/usb251xb.c
index 4d6ae3795a883845548dad31bb3e9d82f7436f48..119aeb658c816550291117a572590c465df45fac 100644
(file)
--- a/
drivers/usb/misc/usb251xb.c
+++ b/
drivers/usb/misc/usb251xb.c
@@
-574,8
+574,6
@@
static int usb251xb_get_ofdata(struct usb251xb *hub,
hub->port_swap = USB251XB_DEF_PORT_SWAP;
usb251xb_get_ports_field(hub, "swap-dx-lanes", data->port_cnt,
&hub->port_swap);
- if (of_get_property(np, "swap-us-lanes", NULL))
- hub->port_swap |= BIT(0);
/* The following parameters are currently not exposed to devicetree, but
* may be as soon as needed.