]> Git Repo - linux.git/commitdiff
ASoC: dapm: Fix source list debugfs outputs
authorTakashi Iwai <[email protected]>
Mon, 28 Oct 2013 13:21:49 +0000 (14:21 +0100)
committerMark Brown <[email protected]>
Mon, 28 Oct 2013 16:32:57 +0000 (09:32 -0700)
... 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]
sound/soc/soc-dapm.c

index c17c14c394df88bb0442ccaf51b5735f05455ab5..e650e995a8e6850a25ed4cdbcd2b6bdf1322bf7f 100644 (file)
@@ -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)
This page took 0.058077 seconds and 4 git commands to generate.