diff options
author | Srinivas Kandagatla <[email protected]> | 2020-03-16 15:11:10 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-03-16 18:07:41 +0000 |
commit | 308811a327c38364fff7752d3009160632f5dd5e (patch) | |
tree | 7dde13155ed7ff9b019f09e02041ed9cdcda1544 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 673f45f7bf7dbb6801a04053e3e2d13dfa42db08 (diff) |
ASoC: soc-dai: return proper error for get_sdw_stream()
snd_soc_dai_get_sdw_stream() returns null if dai does not support
this callback, this is no very useful for the caller to
differentiate if this is an error or unsupported call for the dai.
return -ENOTSUPP in cases where this callback is not supported.
Signed-off-by: Srinivas Kandagatla <[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