]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
authorWang Wensheng <wangwensheng4@huawei.com>
Thu, 10 Mar 2022 09:19:02 +0000 (09:19 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 10 Mar 2022 12:17:52 +0000 (12:17 +0000)
commite31ca9ce7d7c2b8344f1614905a1f91350708c2e
tree3e60dd69b3fc36c3f9673e5c42ae76d0ff2de01e
parentd5e2f0cbeaf2463f47cc494118d25901d14d8624
ASoC: imx-es8328: Fix error return code in imx_es8328_probe()

Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.

Fixes: cd8ec5c4833f ("ASoC: fsl: add imx-es8328 machine driver")
Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com>
Link: https://lore.kernel.org/r/20220310091902.129299-1-wangwensheng4@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-es8328.c