summaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106/ca0106_main.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-18 17:37:14 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-18 17:37:21 +0100
commit436ec40e0cdf74eae90af6be6c287396e388f1fb (patch)
treeec85647d69d9d2a8f47da48e1ef0175c457c4bcc /sound/pci/ca0106/ca0106_main.c
parent053b055948e97268771de11f2ab9b2aa1640b68d (diff)
parentce7f93e2bd6f649980846914e4a04ad6ba141fa6 (diff)
downloadtalos-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/pci/ca0106/ca0106_main.c')
-rw-r--r--sound/pci/ca0106/ca0106_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c
index cd27b5536654..3d1b0bbff33b 100644
--- a/sound/pci/ca0106/ca0106_main.c
+++ b/sound/pci/ca0106/ca0106_main.c
@@ -1910,11 +1910,8 @@ static int snd_ca0106_suspend(struct device *dev)
{
struct snd_card *card = dev_get_drvdata(dev);
struct snd_ca0106 *chip = card->private_data;
- int i;
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
- for (i = 0; i < 4; i++)
- snd_pcm_suspend_all(chip->pcm[i]);
if (chip->details->ac97)
snd_ac97_suspend(chip->ac97);
snd_ca0106_mixer_suspend(chip);
OpenPOWER on IntegriCloud