diff options
author | Kuninori Morimoto <[email protected]> | 2020-10-01 14:07:41 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-10-01 20:42:20 +0100 |
commit | 8e7875ae373a3690397c4e593629d3b9ad5ccf42 (patch) | |
tree | bb7bdbcc5c530eaa255a0188cb6a3b0fc63a2e6c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cb2fce94c84e2c2798dca45aa00d1e03294fab95 (diff) |
ASoC: soc-pcm: add missing ret=0 at soc_pcm_open()
commit 140a4532cdb8c ("ASoC: soc-pcm: add soc_pcm_clean() and call it
from soc_pcm_open/close()") switched to use soc_pcm_clean() at
soc_pcm_open().
But it removed "return 0", and missing "ret = 0",
because of it, it always return -EINVAL eventhough no error.
This patch adds missing "ret = 0" for success case.
Reported-by: Marek Szyprowski <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions