ASoC: rockchip: i2s: Fix missing error code in rockchip_i2s_probe()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 24 Jun 2022 08:27:45 +0000 (16:27 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 13:06:58 +0000 (14:06 +0100)
commit7f6409fd9b54b6f56444edc996cd28059f215415
tree20b9a03d11f7b436b8356a030f9ae6287cac2099
parent53c9fac844775880ba1253efc7fa810bf82b9cb2
ASoC: rockchip: i2s: Fix missing error code in rockchip_i2s_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/rockchip/rockchip_i2s.c:810 rockchip_i2s_probe() warn: missing error code 'ret'.

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