aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler_attributes.h
diff options
context:
space:
mode:
authorWang Yufen <wangyufen@huawei.com>2022-12-05 17:56:28 +0800
committerMark Brown <broonie@kernel.org>2022-12-07 14:19:15 +0000
commit38eef3be38ab895959c442702864212cc3beb96c (patch)
tree2b8a77c37d916c48b0a34417e1a91676d4cdb15b /include/linux/compiler_attributes.h
parenta39bc7cf8e284653fb6fd9d897f269f4ac80cf52 (diff)
ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_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 mt8183_mt6358_ts3a227_max98357_dev_probe(). Fixes: 11c0269017b2 ("ASoC: Mediatek: MT8183: Add machine driver with TS3A227") Signed-off-by: Wang Yufen <wangyufen@huawei.com> Link: https://lore.kernel.org/r/1670234188-23596-1-git-send-email-wangyufen@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions