summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2013-04-16 15:17:37 +0200
committerDavid Henningsson <david.henningsson@canonical.com>2013-04-24 12:54:25 +0200
commit8e640964cdd04588d98e3fdc23a5eda6edac66a6 (patch)
tree9127cacf2fa54077eec61b2d834ccba8eee2dc57
parent786874b67239502bde1cbf69039d87d5999bbac2 (diff)
alsa: Initialize ports before sinks/sources
This way port availability has been filled in when we create the sink, which will later enable us to pick the right port directly. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-rw-r--r--src/modules/alsa/module-alsa-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/alsa/module-alsa-card.c b/src/modules/alsa/module-alsa-card.c
index 2529c0df..9b739dca 100644
--- a/src/modules/alsa/module-alsa-card.c
+++ b/src/modules/alsa/module-alsa-card.c
@@ -748,8 +748,8 @@ int pa__init(pa_module *m) {
u->card->userdata = u;
u->card->set_profile = card_set_profile;
- init_profile(u);
init_jacks(u);
+ init_profile(u);
init_eld_ctls(u);
if (reserve)