]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: fix error return code in wm_adsp_load()
authorLuo Meng <luomeng12@huawei.com>
Mon, 23 Nov 2020 13:38:39 +0000 (21:38 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 25 Nov 2020 12:54:03 +0000 (12:54 +0000)
commit8978ce519f2fff6809b4c221c84f40a10eda31d4
treee6b713ed9d5977f6a2d087e1e9ae23a76fb88a1c
parent53f6ae785e71f283dded2cdb321859d88b3d10d8
ASoC: wm_adsp: fix error return code in wm_adsp_load()

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

Fixes: 01ce246b8712 ("ASoC: wm_adsp: Add support for new Halo core DSPs")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Luo Meng <luomeng12@huawei.com>
Acked-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20201123133839.4073787-1-luomeng12@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c