diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-03-24 07:43:24 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-04-21 11:10:45 +0200 |
commit | 586be3fcf97eec22fbc0ef6d67e823706aea7167 (patch) | |
tree | 1a68ce99f543d9c24050bca0949ed6173484e7b1 /sound/pci | |
parent | b613291fb21a2d74eb8323d97fe9aa5d281b306c (diff) | |
download | kernel_samsung_tuna-586be3fcf97eec22fbc0ef6d67e823706aea7167.zip kernel_samsung_tuna-586be3fcf97eec22fbc0ef6d67e823706aea7167.tar.gz kernel_samsung_tuna-586be3fcf97eec22fbc0ef6d67e823706aea7167.tar.bz2 |
ALSA: hda - Add debug prints for Realtek auto-init
Added a couple of debug prints to show the checked id numbers in
alc_subsystem_id().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8209779..ee92c73 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, if (codec->vendor_id == 0x10ec0260) nid = 0x17; 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); if (!(ass & 1) && !(ass & 0x100000)) return; if ((ass >> 30) != 1) /* no physical connection */ @@ -1036,6 +1039,8 @@ static void alc_subsystem_id(struct hda_codec *codec, if (((ass >> 16) & 0xf) != tmp) return; do_sku: + snd_printd("realtek: Enabling init ASM_ID=0x%04x CODEC_ID=%08x\n", + ass & 0xffff, codec->vendor_id); /* * 0 : override * 1 : Swap Jack |