]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 cccc32cdb943029ff4beee1b938cd11dace16c66..9845a20f5427bec0c4859deede44d302fb7da1f2 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] = {