projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: core: Pass legacy_dai_naming flag directly
[linux-2.6-microblaze.git]
/
sound
/
soc
/
soc-core.c
diff --git
a/sound/soc/soc-core.c
b/sound/soc/soc-core.c
index
32267a3
..
9574f86
100644
(file)
--- a/
sound/soc/soc-core.c
+++ b/
sound/soc/soc-core.c
@@
-2497,7
+2497,7
@@
static int snd_soc_register_dais(struct snd_soc_component *component,
for (i = 0; i < count; i++) {
dai = snd_soc_register_dai(component, dai_drv + i, count == 1 &&
- !
snd_soc_component_is_codec(component)
);
+ !
component->driver->non_legacy_dai_naming
);
if (dai == NULL) {
ret = -ENOMEM;
goto err;