Skip to content

Commit

Permalink
ALSA: hda - Add a warning for ignored pins with ALC259/268/269
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Jul 30, 2010
1 parent b08b163 commit c7a9434
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit c7a9434

Please sign in to comment.