On Mon, Nov 04, 2024 at 05:30:45PM +0900, Joe Hattori wrote:
In typec_port_register_altmodes(), the fwnode reference obtained by device_get_named_child_node() is not dropped. This commit adds a call to fwnode_handle_put() to fix the possible reference leak.
Fixes: 7b458a4c5d73 ("usb: typec: Add typec_port_register_altmodes()") Cc: stable@vger.kernel.org Signed-off-by: Joe Hattori joe@pf.is.s.u-tokyo.ac.jp
Already fixed: 9581acb91eaf ("usb: typec: fix unreleased fwnode_handle in typec_port_register_altmodes()")
thanks,