diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-06-26 03:40:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-26 13:28:56 +0200 |
commit | e3303268f9cfa4eb7c2217df471417d4327109fd (patch) | |
tree | fcee696a1aa87036efcebbbf910ac25239b3e45d /net/8021q/vlan_dev.c | |
parent | ASoC: rsnd: add missing pin sharing with SSI9 (diff) | |
download | linux-e3303268f9cfa4eb7c2217df471417d4327109fd.tar.xz linux-e3303268f9cfa4eb7c2217df471417d4327109fd.zip |
ASoC: soc-core: don't use soc_find_component() at snd_soc_find_dai()
commit b9f2e25c599bb ("ASoC: soc-core: use soc_find_component() at
snd_soc_find_dai()") used soc_find_component() at snd_soc_find_dai(),
but, some CPU driver has CPU component for DAI and Platform component,
for example generic DMAEngine component.
In such case, CPU component and Platform component have same
of_node / name.
Here soc_find_component() returns *1st* found component.
Thus, we shouldn't use soc_find_component() at snd_soc_find_dai().
This patch fixup this it, and add comment to indicate this limitation.
Fixes: commit b9f2e25c599bb ("ASoC: soc-core: use soc_find_component() at snd_soc_find_dai()")
Reported-by: Dmitry Osipenko <digetx@gmail.com>
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/8021q/vlan_dev.c')
0 files changed, 0 insertions, 0 deletions