mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-08 05:34:29 +08:00
e45ac7831f
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 paths.
Fix this by calling of_node_put() in error handling too.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
mt8192-afe-clk.c | ||
mt8192-afe-clk.h | ||
mt8192-afe-common.h | ||
mt8192-afe-control.c | ||
mt8192-afe-gpio.c | ||
mt8192-afe-gpio.h | ||
mt8192-afe-pcm.c | ||
mt8192-dai-adda.c | ||
mt8192-dai-i2s.c | ||
mt8192-dai-pcm.c | ||
mt8192-dai-tdm.c | ||
mt8192-interconnection.h | ||
mt8192-mt6359-rt1015-rt5682.c | ||
mt8192-reg.h |