diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-07-30 08:10:43 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-07-30 08:10:43 -0400 |
commit | c7a9434dd6ea74464b0419a274463c914197bc98 (patch) | |
tree | 4548741dee4264cc03cabcc8d047d6d01041bc5f /sound/pci/hda/patch_realtek.c | |
parent | b08b1637ce1c0196970348bcabf40f04b6b3d58e (diff) |
ALSA: hda - Add a warning for ignored pins with ALC259/268/269
The current ALC259/268/269 parser ignores some pins as unhandled,
but user won't notice what goes wrong. So, added a warning message
for the ignored pins as a hint.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index ce6c3a9c08c0..49c04fc8b516 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -13164,6 +13164,8 @@ static int alc268_new_analog_output(struct alc_spec *spec, hda_nid_t nid, | |||
13164 | dac = 0x03; | 13164 | dac = 0x03; |
13165 | break; | 13165 | break; |
13166 | default: | 13166 | default: |
13167 | snd_printd(KERN_WARNING "hda_codec: " | ||
13168 | "ignoring pin 0x%x as unknown\n", nid); | ||
13167 | return 0; | 13169 | return 0; |
13168 | } | 13170 | } |
13169 | if (spec->multiout.dac_nids[0] != dac && | 13171 | if (spec->multiout.dac_nids[0] != dac && |