diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-dapm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 9af2d8ad0895..45e6a1120cbd 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -981,6 +981,9 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event) | |||
981 | case SND_SOC_DAPM_STREAM_RESUME: | 981 | case SND_SOC_DAPM_STREAM_RESUME: |
982 | sys_power = 1; | 982 | sys_power = 1; |
983 | break; | 983 | break; |
984 | case SND_SOC_DAPM_STREAM_STOP: | ||
985 | sys_power = !!codec->active; | ||
986 | break; | ||
984 | case SND_SOC_DAPM_STREAM_SUSPEND: | 987 | case SND_SOC_DAPM_STREAM_SUSPEND: |
985 | sys_power = 0; | 988 | sys_power = 0; |
986 | break; | 989 | break; |