diff options
| author | Charles Keepax <[email protected]> | 2018-09-10 15:28:39 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-09-10 15:43:50 +0100 |
| commit | e36a1d0d249aa09f94d551cadf043a7f9f7fae00 (patch) | |
| tree | b3d3297b659b67f1ad101a9c93c02b4b65b5b866 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | ca92cc4636fdedf0d7ee88a5e50cd2b85c246a3b (diff) | |
ASoC: dapm: Add missing return value check for snd_soc_dapm_new_dai
snd_soc_dapm_new_dai may return an error pointer and currently this
isn't checked for in dapm_connect_dai_link_widgets. Add code to check
the return value and not add routes in that case.
Fixes: 778ff5bb8689 ("ASoC: dapm: Move connection of CODEC to CODEC DAIs")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Charles Keepax <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions