diff options
| author | Jerome Brunet <[email protected]> | 2019-06-10 14:53:44 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-06-10 15:39:26 +0100 |
| commit | 960f428ca0a04a59e74639571126245a3efc4bcf (patch) | |
| tree | 818c084d09d81506e69bd7b45e69487bf81691d0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6c0215f5d9f2a1fa5cab2ca320a41d9f19cfa80c (diff) | |
ASoC: meson: axg-card: fix null pointer dereference in clean up
When using modern dai_link style, we must first make sure the
struct snd_soc_dai_link_component exists before accessing its members.
In case of early probe deferral, some of the '.cpus' or '.codecs' may not
have been allocated yet. Check this before calling of_node_put() on the
structure member.
Fixes: c84836d7f650 ("ASoC: meson: axg-card: use modern dai_link style")
Cc: Kuninori Morimoto <[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions