Skip to content
Unverified Commit e525db7e authored by Yu Kuai's avatar Yu Kuai Committed by Mark Brown
Browse files

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: 7e7292db

 ("ASoC: fsl: add imx-es8328 machine driver")
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20200825130224.1488694-1-yukuai3@huawei.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 68353028
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment