diff options
author | Mark Brown <[email protected]> | 2021-01-21 18:13:27 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-01-21 18:13:27 +0000 |
commit | c7a83edf9d0869011c66befe83ec8f27689d0336 (patch) | |
tree | b895c6e41cb2d5a80080b2a0cef6d48bb6245295 /tools/perf/scripts/python/sctop.py | |
parent | ff385c1f4ca8b755ea2abf0b92a602860e91f020 (diff) | |
parent | 9c88a9838352c43550ab18080c924824bc660546 (diff) |
Merge series "Add sanity checks for topology API calls" from Amadeusz Sławiński<[email protected]>:
Topology API exposes just 2 function calls, to load and unload topology.
This adds sanity checks to make sure that it behaves well when some of
parameters are set incoorectly or not needed.
This makes developer live easier by failing early instead of proceeding
on and then failing in unexpected ways.
As loading and unloading topology usually happens one the overhead of
additional checks should be negligible.
Amadeusz Sławiński (2):
ASoC: topology: Ensure that needed parameters are set
ASoC: topology: Check if ops is set before dereference
sound/soc/soc-topology.c | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
--
2.25.1
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions