ALSA: hda - Fix a typo in debug print for realtek auto-detection
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2009 16:33:12 +0000 (18:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2009 16:33:12 +0000 (18:33 +0200)
The NID and ASS numbers were swapped...

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

index a6ec87a5c066b3ca58c145d9c1d94f8216228cec..887712046c003c27453ee938bdfba6985b40603a 100644 (file)
@@ -1026,7 +1026,7 @@ static void alc_subsystem_id(struct hda_codec *codec,
        ass = snd_hda_codec_get_pincfg(codec, nid);
        snd_printd("realtek: No valid SSID, "
                   "checking pincfg 0x%08x for NID 0x%x\n",
-                  nid, ass);
+                  ass, nid);
        if (!(ass & 1) && !(ass & 0x100000))
                return;
        if ((ass >> 30) != 1)   /* no physical connection */