Loading
usb: dwc3-am62: Fix an OF node leak in phy_syscon_pll_refclk()
stable inclusion from stable-v6.6.76 commit 0962220d7a986c4e00cfc6f35563542a67ff4a69 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBW08Q Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0962220d7a986c4e00cfc6f35563542a67ff4a69 -------------------------------- commit a266462b937beba065e934a563efe13dd246a164 upstream. phy_syscon_pll_refclk() leaks an OF node obtained by of_parse_phandle_with_fixed_args(), thus add an of_node_put() call. Cc: stable <stable@kernel.org> Fixes: e8784c0a ("drivers: usb: dwc3: Add AM62 USB wrapper driver") Signed-off-by:Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp> Acked-by:
Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/20250109001638.70033-1-joe@pf.is.s.u-tokyo.ac.jp Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 0962220d7a986c4e00cfc6f35563542a67ff4a69) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>