diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/class.c index 79cad8d61dac..64bdba7ea993 100644 --- a/drivers/usb/typec/class.c +++ b/drivers/usb/typec/class.c @@ -2194,6 +2194,7 @@ void typec_port_register_altmodes(struct typec_port *port, altmodes[index] = alt; index++; } + fwnode_handle_put(altmodes_node); } EXPORT_SYMBOL_GPL(typec_port_register_altmodes);