]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 13:18:47 +0000 (15:18 +0200)
commit49970589b7ff4f82672579cd8362d695f8da60b2
tree52145e82198b44b30b4471a4f3b17931153b1c25
parentf8099dbd96c3c56fb572d8115429f329e3a7d91f
ASoC: imx-es8328: Fix error return code in imx_es8328_probe()

BugLink: https://bugs.launchpad.net/bugs/1971497
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/soc/fsl/imx-es8328.c