linux/sound/soc/sh/rcar
Kuninori Morimoto 4374b8d71c ASoC: rsnd: care return value from rsnd_node_fixed_index()
[ Upstream commit d09a7db431 ]

Renesas Sound is very complex, and thus it needs to use
rsnd_node_fixed_index() to know enabled pin index.

It returns error if strange pin was selected,
but some codes didn't check it.

This patch 1) indicates error message, 2) check return
value.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87pmlbgn5t.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:22:33 +02: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: care return value from rsnd_node_fixed_index() 2022-06-09 10:22:33 +02:00
ctu.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +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-06-09 10:22:33 +02:00
dvc.c ASoC: rsnd: tidyup rsnd_dma_request_channel() 2021-06-01 14:04:14 +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 debugfs support 2021-05-27 11:15:31 +01:00
rsnd.h ASoC: rsnd: care return value from rsnd_node_fixed_index() 2022-06-09 10:22:33 +02:00
src.c ASoC: rsnd: care return value from rsnd_node_fixed_index() 2022-06-09 10:22:33 +02:00
ssi.c ASoC: rsnd: care return value from rsnd_node_fixed_index() 2022-06-09 10:22:33 +02:00
ssiu.c ASoC: rsnd: care return value from rsnd_node_fixed_index() 2022-06-09 10:22:33 +02:00