acrn-kernel/sound/soc/mediatek/mt8183
Wang Yufen 38eef3be38
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: 11c0269017 ("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>
2022-12-07 14:19:15 +00:00
..
Makefile
mt8183-afe-clk.c
mt8183-afe-clk.h
mt8183-afe-common.h ASoC: mediatek: mt8183: Allow setting shared clocks from machine driver 2022-09-09 18:48:55 +01:00
mt8183-afe-pcm.c
mt8183-da7219-max98357.c ASoC: codecs: da7219: Do not export da7219_aad_jack_det() 2022-11-10 17:50:21 +00:00
mt8183-dai-adda.c
mt8183-dai-hostless.c
mt8183-dai-i2s.c ASoC: mediatek: mt8183: Remove clock share parsing from DT 2022-09-09 18:48:58 +01:00
mt8183-dai-pcm.c
mt8183-dai-tdm.c
mt8183-interconnection.h
mt8183-mt6358-ts3a227-max98357.c ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe() 2022-12-07 14:19:15 +00:00
mt8183-reg.h