summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2022-02-10 19:19:12 +0800
committerMark Brown <broonie@kernel.org>2022-02-15 12:52:45 +0000
commitf7d344a2bd5ec81fbd1ce76928fd059e57ec9bea (patch)
treeac6d49b43d96300b15cb7e0192d5996aabccce23 /tools/perf/scripts/python/exported-sql-viewer.py
parent83a1bed1f49869ea0fc7de321d5dcc598d0dfb15 (diff)
ASoC: soc-core: skip zero num_dai component in searching dai name
In the case like dmaengine which's not a dai but as a component, the num_dai is zero, dmaengine component has the same component_of_node as cpu dai, when cpu dai component is not ready, but dmaengine component is ready, try to get cpu dai name, the snd_soc_get_dai_name() return -EINVAL, not -EPROBE_DEFER, that cause below error: asoc-simple-card <card name>: parse error -22 asoc-simple-card: probe of <card name> failed with error -22 The sound card failed to probe. So this patch fixes the issue above by skipping the zero num_dai component in searching dai name. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://lore.kernel.org/r/1644491952-7457-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions