|
@@ -1949,7 +1949,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)
|