mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-25 03:46:17 +00:00
c4b7174fe5
The device_node pointer is returned by of_parse_phandle() with refcount
incremented. We should use of_node_put() on it when done.
This function only calls of_node_put() in the regular path.
And it will cause refcount leak in error path.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
mt8195-afe-clk.c | ||
mt8195-afe-clk.h | ||
mt8195-afe-common.h | ||
mt8195-afe-pcm.c | ||
mt8195-audsys-clk.c | ||
mt8195-audsys-clk.h | ||
mt8195-audsys-clkid.h | ||
mt8195-dai-adda.c | ||
mt8195-dai-etdm.c | ||
mt8195-dai-pcm.c | ||
mt8195-mt6359-rt1011-rt5682.c | ||
mt8195-mt6359-rt1019-rt5682.c | ||
mt8195-reg.h |