aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2013-10-28 14:21:49 +0100
committerMark Brown <[email protected]>2013-10-28 09:32:57 -0700
commitff18620c2157671a8ee21ebb8e6a3520ea209b1f (patch)
treecda116a752e68ba91d82178860fb6edc063f8ba2
parent959f58544b7f20c92d5eb43d1232c96c15c01bfb (diff)
ASoC: dapm: Fix source list debugfs outputs
... due to a copy & paste error. Spotted by coverity CID 710923. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index c17c14c394df..e650e995a8e6 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -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)