summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/efika-audio-fabric.c
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-05-11 09:58:03 +0300
committerMark Brown <broonie@kernel.org>2022-05-11 19:42:09 +0300
commit41cd312dfe980af869c3503b4d38e62ed20dd3b7 (patch)
treed12ebb2d33f4fcb2bcfb6eb164eb75267c6aae44 /sound/soc/fsl/efika-audio-fabric.c
parent71013db522a90513e4e4ec3b33eb00c939e2f4b3 (diff)
downloadlinux-41cd312dfe980af869c3503b4d38e62ed20dd3b7.tar.xz
ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe
of_find_i2c_device_by_node() takes a reference, In error paths, we should call put_device() to drop the reference to aviod refount leak. Fixes: 81e8e4926167 ("ASoC: fsl: add sgtl5000 clock support for imx-sgtl5000") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20220511065803.3957-1-linmq006@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/efika-audio-fabric.c')
0 files changed, 0 insertions, 0 deletions