summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-17 10:25:15 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-17 10:25:15 +0100
commit7a71bbf310cda13a713aab0c1dcf888707a54286 (patch)
treeaae9a68b6db526fb64f7443d1642d0efea0386e8 /sound/pci/hda/hda_generic.h
parentALSA: hda - Add input jack mode enum controls to generic parser (diff)
downloadlinux-7a71bbf310cda13a713aab0c1dcf888707a54286.tar.xz
linux-7a71bbf310cda13a713aab0c1dcf888707a54286.zip
ALSA: hda - Move vmaster TLV parsing to snd_hda_gen_parse_auto_config()
Add vmaster_tlv[] to hda_gen_spec and store the suggested TLV data in snd_hda_gen_parse_auto_config(). This allows the codec driver to correct the TLV data (e.g. mute capability) before actually creating vmaster instance. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r--sound/pci/hda/hda_generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
index 142a571ecd5b..43a8482ed2b3 100644
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -214,6 +214,7 @@ struct hda_gen_spec {
/* for virtual master */
hda_nid_t vmaster_nid;
+ unsigned int vmaster_tlv[4];
struct hda_vmaster_mute_hook vmaster_mute;
#ifdef CONFIG_PM
struct hda_loopback_check loopback;