]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: hda - Fix a wrong pin check in snd_hda_parse_pin_def_config()
authorTakashi Iwai <tiwai@suse.de>
Wed, 11 Feb 2009 10:33:13 +0000 (11:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Feb 2009 10:33:13 +0000 (11:33 +0100)
Fixed a wrong pin check (a typo) for debug print of digital input pin.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c

index 93412f335dc479fe494ede57887a271aa349b319..95f10aec7a069aa68946a370b31f9defa16fe7cd 100644 (file)
@@ -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;