]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:53 +0000 (13:57 +0200)
commit7417e2e3f93f6dca2117bf6814b0c0d3498f56eb
tree4b7e5834be81139916cae51dde3131409dc3bed8
parent19d0b2a63e9f1206aefb8dc2e0facc5cd4b9b9d0
ASoC: imx-es8328: Fix error return code in imx_es8328_probe()

[ Upstream commit 3b891513f95cba3944e72c1139ea706d04f3781b ]

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

Fixes: 7e7292dba215 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/imx-es8328.c