ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe()
authorYu Kuai <yukuai3@huawei.com>
Tue, 25 Aug 2020 13:02:24 +0000 (21:02 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Sep 2020 14:50:12 +0000 (15:50 +0100)
commite525db7e4b44c5b2b5aac0dad24e23cb58c54d22
treeb2d327bd20e65f130aa8a61f6a28a742d2eb06d6
parent6835302853169441069e11bc4642300c22009c2e
ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe()

if of_find_device_by_node() succeed, imx_es8328_probe() doesn't have
a corresponding put_device(). Thus add a jump target to fix the exception
handling for this function implementation.

Fixes: 7e7292dba215 ("ASoC: fsl: add imx-es8328 machine driver")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20200825130224.1488694-1-yukuai3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-es8328.c