提交 dfed0ef9 编写于 作者: T Takashi Iwai

ALSA: hda - Fix a typo in debug print for realtek auto-detection

The NID and ASS numbers were swapped...
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 a3b48c88
...@@ -1026,7 +1026,7 @@ static void alc_subsystem_id(struct hda_codec *codec, ...@@ -1026,7 +1026,7 @@ static void alc_subsystem_id(struct hda_codec *codec,
ass = snd_hda_codec_get_pincfg(codec, nid); ass = snd_hda_codec_get_pincfg(codec, nid);
snd_printd("realtek: No valid SSID, " snd_printd("realtek: No valid SSID, "
"checking pincfg 0x%08x for NID 0x%x\n", "checking pincfg 0x%08x for NID 0x%x\n",
nid, ass); ass, nid);
if (!(ass & 1) && !(ass & 0x100000)) if (!(ass & 1) && !(ass & 0x100000))
return; return;
if ((ass >> 30) != 1) /* no physical connection */ if ((ass >> 30) != 1) /* no physical connection */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册