diff options
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index c9b088dab1cf..a4d4aa1e6c49 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -1569,8 +1569,9 @@ static ssize_t dapm_widget_power_read_file(struct file *file, | |||
1569 | out = is_connected_output_ep(w); | 1569 | out = is_connected_output_ep(w); |
1570 | dapm_clear_walk(w->dapm); | 1570 | dapm_clear_walk(w->dapm); |
1571 | 1571 | ||
1572 | ret = snprintf(buf, PAGE_SIZE, "%s: %s in %d out %d", | 1572 | ret = snprintf(buf, PAGE_SIZE, "%s: %s%s in %d out %d", |
1573 | w->name, w->power ? "On" : "Off", in, out); | 1573 | w->name, w->power ? "On" : "Off", |
1574 | w->force ? " (forced)" : "", in, out); | ||
1574 | 1575 | ||
1575 | if (w->reg >= 0) | 1576 | if (w->reg >= 0) |
1576 | ret += snprintf(buf + ret, PAGE_SIZE - ret, | 1577 | ret += snprintf(buf + ret, PAGE_SIZE - ret, |