Skip to content

Commit

Permalink
ALSA: hda - Fix a typo in debug print for realtek auto-detection
Browse files Browse the repository at this point in the history
The NID and ASS numbers were swapped...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Apr 21, 2009
1 parent a3b48c8 commit dfed0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit dfed0ef

Please sign in to comment.