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: 7e7292dba2 ("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>
This commit is contained in:
Wang Wensheng 2022-03-10 09:19:02 +00:00 • committed by Mark Brown
commit 3b891513f9
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0