mirror_ubuntu-kernels/sound/soc/sh/rcar
Jiasheng Jiang 376be51caf
ASoC: rsnd: Add check for rsnd_mod_power_on
As rsnd_mod_power_on() can return negative numbers,
it should be better to check the return value and
deal with the exception.

Fixes: e7d850dd10 ("ASoC: rsnd: use mod base common method on SSI-parent")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20220902013030.3691266-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-09-02 13:27:16 +01:00
..
adg.c ASoC: rsnd: adg: clearly handle clock error / NULL case 2021-08-20 13:07:26 +01:00
cmd.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
core.c ASoC: rsnd: Emit useful error messages in .remove() 2022-07-06 15:20:22 +01:00
ctu.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
debugfs.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
dma.c ASoC: rsnd: care return value from rsnd_node_fixed_index() 2022-04-21 15:53:15 +01:00
dvc.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
gen.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
Makefile ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
mix.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
rsnd.h ASoC: rsnd: care return value from rsnd_node_fixed_index() 2022-04-21 15:53:15 +01:00
src.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
ssi.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
ssiu.c Merge branch 'for-next' into for-linus 2022-08-01 08:11:19 +02:00