diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2019-09-25 21:33:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-01 12:15:24 +0100 |
commit | 49f9c4f2e83cf562f1a6e3f62eafa4ede5343e4a (patch) | |
tree | 978d6d2facaed2c3192a82d14f5cac37fa51fcb7 | |
parent | 423013f824ab0590c229a107f21c54ac6596c4e1 (diff) | |
download | lwn-49f9c4f2e83cf562f1a6e3f62eafa4ede5343e4a.tar.gz lwn-49f9c4f2e83cf562f1a6e3f62eafa4ede5343e4a.zip |
ASoC: core: Clarify usage of ignore_machine
For a sound card ignore_machine means that existing FEs links should be
ignored and existing BEs links should be overridden with some information
from the matching component driver.
Current code make some confusions about this so fix it!
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20190925183358.11955-1-daniel.baluta@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/soc-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index d2842a383846..4a47ba94559f 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1859,7 +1859,7 @@ static void soc_check_tplg_fes(struct snd_soc_card *card) for_each_component(component) { - /* does this component override FEs ? */ + /* does this component override BEs ? */ if (!component->driver->ignore_machine) continue; @@ -1880,7 +1880,7 @@ match: continue; } - dev_info(card->dev, "info: override FE DAI link %s\n", + dev_info(card->dev, "info: override BE DAI link %s\n", card->dai_link[i].name); /* override platform component */ |