ALSA: hda - Sort input pins depending on amp caps
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 23 Sep 2014 08:38:18 +0000 (10:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Sep 2014 13:57:32 +0000 (15:57 +0200)
commit95f72cf2cdf0e612aeaf36d8af51689882fd64db
tree44da358dd7eaceede5e7d17ef6d9f63b8ab53d7e
parent861a04ed15a48e9af7b591cd8ae3bc46aece1733
ALSA: hda - Sort input pins depending on amp caps

If one input has a boost and another one has not, and they're equal
otherwise, it's more likely you want to use the input with the boost
as your primary input.

See hda-emu.git/codecs/canonical/cx20590-lenovo-20b2z00bus-ccert-201305-13496
for an example.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c
sound/pci/hda/hda_auto_parser.h