aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_realtek.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 82097790f6f3..ee92c73df083 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1022,6 +1022,9 @@ static void alc_subsystem_id(struct hda_codec *codec,
1022 if (codec->vendor_id == 0x10ec0260) 1022 if (codec->vendor_id == 0x10ec0260)
1023 nid = 0x17; 1023 nid = 0x17;
1024 ass = snd_hda_codec_get_pincfg(codec, nid); 1024 ass = snd_hda_codec_get_pincfg(codec, nid);
1025 snd_printd("realtek: No valid SSID, "
1026 "checking pincfg 0x%08x for NID 0x%x\n",
1027 nid, ass);
1025 if (!(ass & 1) && !(ass & 0x100000)) 1028 if (!(ass & 1) && !(ass & 0x100000))
1026 return; 1029 return;
1027 if ((ass >> 30) != 1) /* no physical connection */ 1030 if ((ass >> 30) != 1) /* no physical connection */
@@ -1036,6 +1039,8 @@ static void alc_subsystem_id(struct hda_codec *codec,
1036 if (((ass >> 16) & 0xf) != tmp) 1039 if (((ass >> 16) & 0xf) != tmp)
1037 return; 1040 return;
1038do_sku: 1041do_sku:
1042 snd_printd("realtek: Enabling init ASM_ID=0x%04x CODEC_ID=%08x\n",
1043 ass & 0xffff, codec->vendor_id);
1039 /* 1044 /*
1040 * 0 : override 1045 * 0 : override
1041 * 1 : Swap Jack 1046 * 1 : Swap Jack