diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-09-18 10:09:44 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-09-18 10:09:44 -0400 |
commit | 9f072b7b2260a588bfb5fb43418c3358104e7c13 (patch) | |
tree | 055f1082093bb63a34c7bfe43c845567685d4675 /sound/soc/soc-dapm.c | |
parent | b1cd6b9ec7c749ddfad628c8c12659591ae195e6 (diff) | |
parent | 0c31cf3e4af79ea18bbd365b07ef0de207673894 (diff) |
Merge branch 'for-2.6.32' into for-2.6.33
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 37f7adeae323..9babda559c92 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -1135,9 +1135,10 @@ static ssize_t dapm_widget_power_read_file(struct file *file, | |||
1135 | ret = snprintf(buf, PAGE_SIZE, "%s: %s in %d out %d\n", | 1135 | ret = snprintf(buf, PAGE_SIZE, "%s: %s in %d out %d\n", |
1136 | w->name, w->power ? "On" : "Off", in, out); | 1136 | w->name, w->power ? "On" : "Off", in, out); |
1137 | 1137 | ||
1138 | if (w->active && w->sname) | 1138 | if (w->sname) |
1139 | ret += snprintf(buf, PAGE_SIZE - ret, " stream %s active\n", | 1139 | ret += snprintf(buf + ret, PAGE_SIZE - ret, " stream %s %s\n", |
1140 | w->sname); | 1140 | w->sname, |
1141 | w->active ? "active" : "inactive"); | ||
1141 | 1142 | ||
1142 | list_for_each_entry(p, &w->sources, list_sink) { | 1143 | list_for_each_entry(p, &w->sources, list_sink) { |
1143 | if (p->connected && !p->connected(w, p->sink)) | 1144 | if (p->connected && !p->connected(w, p->sink)) |