From: Takashi Iwai Date: Wed, 11 Feb 2009 10:33:13 +0000 (+0100) Subject: ALSA: hda - Fix a wrong pin check in snd_hda_parse_pin_def_config() X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=32d2c7fa1344ddf51886eddf31e228d139501dc6;p=linux-2.6-omap-h63xx.git ALSA: hda - Fix a wrong pin check in snd_hda_parse_pin_def_config() Fixed a wrong pin check (a typo) for debug print of digital input pin. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 93412f335dc..95f10aec7a0 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -3551,7 +3551,7 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec, cfg->input_pins[AUTO_PIN_FRONT_LINE], cfg->input_pins[AUTO_PIN_CD], cfg->input_pins[AUTO_PIN_AUX]); - if (cfg->dig_out_pin) + if (cfg->dig_in_pin) snd_printd(" dig-in=0x%x\n", cfg->dig_in_pin); return 0;