diff options
author | Mark Brown <broonie@kernel.org> | 2014-11-17 17:41:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-17 17:41:05 +0100 |
commit | a9aa32c5428c20d819b759124f9139e160a43914 (patch) | |
tree | f08a68b3a6b8ec30ef522a0675bba4a35bb6a6ab /sound | |
parent | Linux 3.18-rc5 (diff) | |
parent | ASoC: Fix snd_soc_find_dai() matching component by name (diff) | |
download | linux-a9aa32c5428c20d819b759124f9139e160a43914.tar.xz linux-a9aa32c5428c20d819b759124f9139e160a43914.zip |
Merge remote-tracking branch 'asoc/fix/core' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 4c8f8a23a0e9..b60ff56ebc0f 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -884,7 +884,7 @@ static struct snd_soc_dai *snd_soc_find_dai( list_for_each_entry(component, &component_list, list) { if (dlc->of_node && component->dev->of_node != dlc->of_node) continue; - if (dlc->name && strcmp(dev_name(component->dev), dlc->name)) + if (dlc->name && strcmp(component->name, dlc->name)) continue; list_for_each_entry(dai, &component->dai_list, list) { if (dlc->dai_name && strcmp(dai->name, dlc->dai_name)) |