ALSA: ca0106 - Fix typo in resume code
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Dec 2008 12:55:17 +0000 (13:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Dec 2008 12:55:17 +0000 (13:55 +0100)
The register and channel_id pair were twisted in the pm code...
Oh my.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ca0106/ca0106_mixer.c

index cccc32c..9845a20 100644 (file)
@@ -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] = {