diff options
| author | 2026-02-03 22:07:57 +0800 | |
|---|---|---|
| committer | 2026-03-19 16:15:32 +0200 | |
| commit | 4b84d496c804b470124cd3a08e928df6801d8eae (patch) | |
| tree | a2d077481951bf96c1d1e62d380dd74c4062cad9 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | clk: imx: fracn-gppll: Add 477.4MHz support (diff) | |
clk: imx: imx6q: Fix device node reference leak in pll6_bypassed()
The function pll6_bypassed() calls of_parse_phandle_with_args()
but never calls of_node_put() to release the reference, causing
a memory leak.
Fix this by adding proper cleanup calls on all exit paths.
Fixes: 3cc48976e9763 ("clk: imx6q: handle ENET PLL bypass")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20260203-clk-imx6q-v3-1-6cd2696bb371@gmail.com
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
