ALSA: hda - Add a warning for ignored pins with ALC259/268/269
authorTakashi Iwai <tiwai@suse.de>
Fri, 30 Jul 2010 12:10:43 +0000 (14:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Jul 2010 12:10:43 +0000 (14:10 +0200)
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>
sound/pci/hda/patch_realtek.c

index ce6c3a9..49c04fc 100644 (file)
@@ -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 &&