ALSA: hda - Keep autocfg.input idx value in imux table
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 09:01:15 +0000 (10:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 09:01:15 +0000 (10:01 +0100)
commit9dba205b486152e3d31ab04f3b60efeef035cec5
treec25f01d828714bd45ace02f72506b2456afd7ccb
parent8a6c21aee8ab94c35e9db7a4ad35cfeb94f57d59
ALSA: hda - Keep autocfg.input idx value in imux table

Since the imux table entries can be a subset of autocfg.input table,
the indices of these aren't always same.  For passing the proper index
value of autocfg.input at creating input ctl labels (via
snd_hda_autocfg_input_label()), keep the corresponding autocfg.input
idx value in the index field of each imux item, which isn't used in
the generic driver.

Also, this makes easier to check the invalid imux pin for stereo mix.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
This page took 0.026014 seconds and 5 git commands to generate.