summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-03-16 11:15:30 +0000
committerMark Brown <broonie@kernel.org>2022-03-16 16:39:19 +0000
commit740dc3e846537c3743da98bf106f376023fd085c (patch)
treed60166d55ee79438b35687b9d6a2c51f2a3873f9 /CREDITS
parentcc5d8ac95663a5813c696008bc524b794d471215 (diff)
downloadlinux-740dc3e846537c3743da98bf106f376023fd085c.tar.bz2
ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
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: fdbcb3cba54b ("ASoC: atmel: machine driver for at91sam9x5-wm8731 boards") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Link: https://lore.kernel.org/r/20220316111530.4551-1-linmq006@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions