]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: cs46xx: Fix suspend for all channels
authorOndrej Zary <linux@rainbow-software.org>
Thu, 29 Oct 2015 19:52:24 +0000 (20:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Oct 2015 11:33:21 +0000 (12:33 +0100)
commitb43ddca4a8d8c9b5439898bd3077736091696ceb
tree172b1b2e87f502fff3f1c5031ba8548a6fe2b71c
parenteed273b785c531ced49adca87efcee2d96bdb2ef
ALSA: cs46xx: Fix suspend for all channels

snd_cs46xx_suspend() is missing snd_pcm_suspend_all calls for pcm_rear,
pcm_center_lfe and pcm_iec958.

There's also a copy/paste bug in snd_cs46xx_pcm_iec958(), overwriting
pcm_rear in struct snd_cs46xx, leaving pcm_iec958 unused.

Fix all this to allow all channels to survive suspend/resume.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs46xx/cs46xx_lib.c