Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / sound / soc / soc-dapm.c
index b516488..1d83a40 100644 (file)
@@ -1523,7 +1523,7 @@ static ssize_t dapm_widget_power_read_file(struct file *file,
                                w->active ? "active" : "inactive");
 
        list_for_each_entry(p, &w->sources, list_sink) {
-               if (p->connected && !p->connected(w, p->sink))
+               if (p->connected && !p->connected(w, p->source))
                        continue;
 
                if (p->connect)