From 53161494bc22cd7419d5293a65f5ee7185baefe9 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Fri, 31 Oct 2008 14:41:06 +1100 Subject: [PATCH] --- yaml --- r: 120185 b: refs/heads/master c: 57b41898c2ecd13a9d338b66ef23f66caab5c4e9 h: refs/heads/master i: 120183: e5e499c455ec59970984cfccf7e3ac220a8f26d0 v: v3 --- [refs] | 2 +- trunk/sound/soc/soc-dapm.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a3230fc06e74..4b6d241a2ffd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0763722d28b7b58fa1f9b83d3378efcde855b18a +refs/heads/master: 57b41898c2ecd13a9d338b66ef23f66caab5c4e9 diff --git a/trunk/sound/soc/soc-dapm.c b/trunk/sound/soc/soc-dapm.c index 407092c226f9..7bf3c4094592 100644 --- a/trunk/sound/soc/soc-dapm.c +++ b/trunk/sound/soc/soc-dapm.c @@ -822,6 +822,8 @@ static DEVICE_ATTR(dapm_widget, 0444, dapm_widget_show, NULL); int snd_soc_dapm_sys_add(struct device *dev) { + int ret; + if (!dapm_status) return 0;