aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorWang Yufen <[email protected]>2022-12-05 18:04:24 +0800
committerMark Brown <[email protected]>2022-12-07 14:19:11 +0000
commit3327d721114c109ba0575f86f8fda3b525404054 (patch)
treea00851d659d5188ee92e74587352e52dcbc851c3 /scripts/generate_rust_analyzer.py
parent8e378ea10b0fd397007f7e52429c7b27f0143583 (diff)
ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
The node returned by of_parse_phandle() with refcount incremented, of_node_put() needs be called when finish using it. So add it in the error path in mt8173_rt5650_rt5514_dev_probe(). Fixes: 0d1d7a664288 ("ASoC: mediatek: Refine mt8173 driver and change config option") Signed-off-by: Wang Yufen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions