diff options
author | Kuninori Morimoto <[email protected]> | 2022-04-21 02:55:58 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-21 15:53:15 +0100 |
commit | d09a7db431c65aaa8303eb456439d1831ca2e6b4 (patch) | |
tree | 847bb18e2b788abb8fcba302ddd2d8588bd3c08f /lib/mpi/mpi-sub-ui.c | |
parent | c1d97b866100f354c3381c756e8ea7c4d8f0ccbe (diff) |
ASoC: rsnd: care return value from rsnd_node_fixed_index()
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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions