diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2022-04-21 02:55:58 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-21 15:53:15 +0100 |
commit | d09a7db431c65aaa8303eb456439d1831ca2e6b4 (patch) | |
tree | 847bb18e2b788abb8fcba302ddd2d8588bd3c08f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
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 <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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions