diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-01-18 17:37:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-18 17:37:21 +0100 |
commit | 436ec40e0cdf74eae90af6be6c287396e388f1fb (patch) | |
tree | ec85647d69d9d2a8f47da48e1ef0175c457c4bcc /sound/drivers/vx/vx_core.c | |
parent | 053b055948e97268771de11f2ab9b2aa1640b68d (diff) | |
parent | ce7f93e2bd6f649980846914e4a04ad6ba141fa6 (diff) | |
download | talos-op-linux-436ec40e0cdf74eae90af6be6c287396e388f1fb.tar.gz talos-op-linux-436ec40e0cdf74eae90af6be6c287396e388f1fb.zip |
Merge branch 'topic/pcm-device-suspend' into for-next
Pull the PCM suspend improvement / cleanup.
This moves the most of snd_pcm_suspend*() calls into PCM's own device
PM ops. There should be no change from the functionality POV.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/vx/vx_core.c')
-rw-r--r-- | sound/drivers/vx/vx_core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/drivers/vx/vx_core.c b/sound/drivers/vx/vx_core.c index 04368dd59a4c..19496fa486aa 100644 --- a/sound/drivers/vx/vx_core.c +++ b/sound/drivers/vx/vx_core.c @@ -732,12 +732,8 @@ EXPORT_SYMBOL(snd_vx_dsp_load); */ int snd_vx_suspend(struct vx_core *chip) { - unsigned int i; - snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot); chip->chip_status |= VX_STAT_IN_SUSPEND; - for (i = 0; i < chip->hw->num_codecs; i++) - snd_pcm_suspend_all(chip->pcm[i]); return 0; } |