Skip to content
Snippets Groups Projects
Commit 0169b6b3 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix check of input source type for realtek codecs


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: default avatarTakashi Iwai <tiwai@suse.de>
parent 376b508f
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment