summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-12-19 13:55:17 +0100
committerTakashi Iwai <tiwai@suse.de>2008-12-19 13:55:17 +0100
commit8df0f70751dc0e51d0550caee3416339183c5767 (patch)
tree0766381e24ef330af7966e85317eaa69840116b5 /sound
parentALSA: ca0106 - Don't override the values at resume (diff)
downloadlinux-8df0f70751dc0e51d0550caee3416339183c5767.tar.xz
linux-8df0f70751dc0e51d0550caee3416339183c5767.zip
ALSA: ca0106 - Fix typo in resume code
The register and channel_id pair were twisted in the pm code... Oh my. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/ca0106/ca0106_mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ca0106/ca0106_mixer.c b/sound/pci/ca0106/ca0106_mixer.c
index cccc32cdb943..9845a20f5427 100644
--- a/sound/pci/ca0106/ca0106_mixer.c
+++ b/sound/pci/ca0106/ca0106_mixer.c
@@ -806,8 +806,8 @@ int __devinit snd_ca0106_mixer(struct snd_ca0106 *emu)
#ifdef CONFIG_PM
struct ca0106_vol_tbl {
- unsigned int reg;
unsigned int channel_id;
+ unsigned int reg;
};
static struct ca0106_vol_tbl saved_volumes[NUM_SAVED_VOLUMES] = {