summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_auto_parser.h
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2014-09-23 12:38:18 +0400
committerTakashi Iwai <tiwai@suse.de>2014-09-23 17:57:32 +0400
commit95f72cf2cdf0e612aeaf36d8af51689882fd64db (patch)
tree44da358dd7eaceede5e7d17ef6d9f63b8ab53d7e /sound/pci/hda/hda_auto_parser.h
parent861a04ed15a48e9af7b591cd8ae3bc46aece1733 (diff)
downloadlinux-95f72cf2cdf0e612aeaf36d8af51689882fd64db.tar.xz
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>
Diffstat (limited to 'sound/pci/hda/hda_auto_parser.h')
-rw-r--r--sound/pci/hda/hda_auto_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_auto_parser.h b/sound/pci/hda/hda_auto_parser.h
index e941f604f5e5..2b8e29fd73e7 100644
--- a/sound/pci/hda/hda_auto_parser.h
+++ b/sound/pci/hda/hda_auto_parser.h
@@ -38,6 +38,7 @@ struct auto_pin_cfg_item {
int type;
unsigned int is_headset_mic:1;
unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */
+ unsigned int has_boost_on_pin:1;
};
struct auto_pin_cfg;