Skip to content

Commit e283f5e

Browse files
Heikki Krogerusgregkh
authored andcommitted
usb: typec: intel_pmc_mux: Fix the property names
The device property names for the port index number are "usb2-port-number" and "usb3-port-number", not "usb2-port" and "usb3-port". Fixes: 6701adf ("usb: typec: driver for Intel PMC mux control") Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ac85413 commit e283f5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/usb/typec/mux/intel_pmc_mux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,11 @@ static int pmc_usb_register_port(struct pmc_usb *pmc, int index,
298298
struct typec_mux_desc mux_desc = { };
299299
int ret;
300300

301-
ret = fwnode_property_read_u8(fwnode, "usb2-port", &port->usb2_port);
301+
ret = fwnode_property_read_u8(fwnode, "usb2-port-number", &port->usb2_port);
302302
if (ret)
303303
return ret;
304304

305-
ret = fwnode_property_read_u8(fwnode, "usb3-port", &port->usb3_port);
305+
ret = fwnode_property_read_u8(fwnode, "usb3-port-number", &port->usb3_port);
306306
if (ret)
307307
return ret;
308308

0 commit comments

Comments
 (0)