]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitacf981f94edca13c85fa24dd8511cdc6bd4c98ed
treefcccef207164b2e9a996ef55a978a6d0ece0e23d
parent446499743b26958a58891a8f9a061deb5cce7c82
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