mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
Merge branch 'for-2.6.37' into for-2.6.38
This commit is contained in:
commit
90986dc98d
1 changed files with 3 additions and 0 deletions
|
@ -981,6 +981,9 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
|
|||
case SND_SOC_DAPM_STREAM_RESUME:
|
||||
sys_power = 1;
|
||||
break;
|
||||
case SND_SOC_DAPM_STREAM_STOP:
|
||||
sys_power = !!codec->active;
|
||||
break;
|
||||
case SND_SOC_DAPM_STREAM_SUSPEND:
|
||||
sys_power = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue