We should call of_node_put() for the reference returned by
of_parse_phandle() in fail path or when it is not used anymore.
Here we only need to move the of_node_put() before the check.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cppi41.c | ||
| dma-crossbar.c | ||
| edma.c | ||
| k3-psil-am62.c | ||
| k3-psil-am64.c | ||
| k3-psil-am654.c | ||
| k3-psil-j721e.c | ||
| k3-psil-j721s2.c | ||
| k3-psil-j7200.c | ||
| k3-psil-priv.h | ||
| k3-psil.c | ||
| k3-udma-glue.c | ||
| k3-udma-private.c | ||
| k3-udma.c | ||
| k3-udma.h | ||
| omap-dma.c | ||