Răsfoiți Sursa

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>
Takashi Iwai 16 ani în urmă
părinte
comite
8df0f70751
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      sound/pci/ca0106/ca0106_mixer.c

+ 1 - 1
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] = {