diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-07-30 14:10:43 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-07-30 14:10:43 +0200 |
commit | c7a9434dd6ea74464b0419a274463c914197bc98 (patch) | |
tree | 4548741dee4264cc03cabcc8d047d6d01041bc5f | |
parent | b08b1637ce1c0196970348bcabf40f04b6b3d58e (diff) | |
download | linux-c7a9434dd6ea74464b0419a274463c914197bc98.tar.bz2 |
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>
-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, dac = 0x03; break; default: + snd_printd(KERN_WARNING "hda_codec: " + "ignoring pin 0x%x as unknown\n", nid); return 0; } if (spec->multiout.dac_nids[0] != dac && |