Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162794
b: refs/heads/master
c: 3eef08b
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Sep 14, 2009
1 parent 5aef378 commit 5772562
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33d7f77850476a8b8df50bd50221bc644dd44357
refs/heads/master: 3eef08ba522775360cc59fe0a6b1bca6ecc8da4e
7 changes: 4 additions & 3 deletions trunk/sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,9 +1131,10 @@ static ssize_t dapm_widget_power_read_file(struct file *file,
ret = snprintf(buf, PAGE_SIZE, "%s: %s in %d out %d\n",
w->name, w->power ? "On" : "Off", in, out);

if (w->active && w->sname)
ret += snprintf(buf, PAGE_SIZE - ret, " stream %s active\n",
w->sname);
if (w->sname)
ret += snprintf(buf + ret, PAGE_SIZE - ret, " stream %s %s\n",
w->sname,
w->active ? "active" : "inactive");

list_for_each_entry(p, &w->sources, list_sink) {
if (p->connect)
Expand Down

0 comments on commit 5772562

Please sign in to comment.