]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra20_ac97: Fix missing error code in tegra20_ac97_platform_probe()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 1 Jul 2022 07:28:50 +0000 (15:28 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jul 2022 11:44:21 +0000 (12:44 +0100)
commit9a6dfacacd63cbd57446f56b168b8474e227149f
treefcccef207164b2e9a996ef55a978a6d0ece0e23d
parent7b0dbd0b97fca22dabf2a02613694c22c0397922
ASoC: tegra20_ac97: Fix missing error code in tegra20_ac97_platform_probe()

The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'ret'.

This was found by coccicheck:

sound/soc/tegra/tegra20_ac97.c:357 tegra20_ac97_platform_probe() warn: missing error code 'ret'.

Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220701072850.62408-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra20_ac97.c