diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-10-28 14:21:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-28 09:32:57 -0700 |
commit | ff18620c2157671a8ee21ebb8e6a3520ea209b1f (patch) | |
tree | cda116a752e68ba91d82178860fb6edc063f8ba2 /sound | |
parent | 959f58544b7f20c92d5eb43d1232c96c15c01bfb (diff) | |
download | kernel_goldelico_gta04-ff18620c2157671a8ee21ebb8e6a3520ea209b1f.zip kernel_goldelico_gta04-ff18620c2157671a8ee21ebb8e6a3520ea209b1f.tar.gz kernel_goldelico_gta04-ff18620c2157671a8ee21ebb8e6a3520ea209b1f.tar.bz2 |
ASoC: dapm: Fix source list debugfs outputs
... due to a copy & paste error.
Spotted by coverity CID 710923.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index c17c14c..e650e99 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) |