diff options
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 145ec4b56ca9..f90139b5f50d 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -293,8 +293,9 @@ static int snd_soc_dapm_set_bias_level(struct snd_soc_dapm_context *dapm, | |||
293 | level); | 293 | level); |
294 | else | 294 | else |
295 | dapm->bias_level = level; | 295 | dapm->bias_level = level; |
296 | } else | 296 | } else if (!card || dapm != &card->dapm) { |
297 | dapm->bias_level = level; | 297 | dapm->bias_level = level; |
298 | } | ||
298 | 299 | ||
299 | if (ret != 0) | 300 | if (ret != 0) |
300 | goto out; | 301 | goto out; |