diff options
author | Misael Lopez Cruz <[email protected]> | 2014-03-21 16:27:25 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-04-14 20:37:25 +0100 |
commit | 12023a9af8f6602e09d9276d3476f6861ca0f127 (patch) | |
tree | 34a3289273aba7fdc6894221ac42432dd24a57a6 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
ASoC: core: Add helpers for codec and codec_dai search
Add dedicated helpers for codec and codec_dai search in preparation
for DAI-multicodec. It will help reducing the extra indentation
that will be introduced by the iteration over multiple codecs.
Previous implementation unnecessarily kept searching for a matching
codec in the remaining register codecs even if it was already found.
Fix that by returning in case of matching.
Signed-off-by: Misael Lopez Cruz <[email protected]>
[[email protected]: Adapt to 3.14+]
Signed-off-by: Fabien Parent <[email protected]>
Signed-off-by: Benoit Cousson <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions