diff options
author | Uwe Kleine-König <[email protected]> | 2022-07-05 08:36:13 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-07-06 15:20:22 +0100 |
commit | e57297fc0915e2f95de26d18ad8ab6f17c068658 (patch) | |
tree | 52b718080087b7fd24edb0cd7bc9e7990ea9e3e9 /tools/perf/scripts/python/sctop.py | |
parent | f1fd46e068f52893608469df98d4608672e3e45f (diff) |
ASoC: rsnd: Emit useful error messages in .remove()
If more than one call of rsnd_dai_call(remove, ...) fails the platform
remove callback returns all values orred together which then makes the
driver core emit a generic error message which is little helpful.
Instead emit details of which call failed exactly and return 0. Note
returning 0 instead of an error code doesn't make a difference in the
driver core apart from the error message.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions