ALSA: hda - Fix check of input source type for realtek codecs
authorTakashi Iwai <tiwai@suse.de>
Mon, 22 Jun 2009 08:50:19 +0000 (10:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Jun 2009 09:06:05 +0000 (11:06 +0200)
Fix the check of the input-source type by checking the widget type of
each capture-source item.  Since some codecs can have both the mixer
and selector types depending on the ADC, alc_mux_enum_put() needs to
check each widget.

With this change, spec->capture_style gets unneeded, so it's removed,
too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found