diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-17 09:25:15 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-17 09:25:15 (GMT) |
commit | 7a71bbf310cda13a713aab0c1dcf888707a54286 (patch) | |
tree | aae9a68b6db526fb64f7443d1642d0efea0386e8 /sound/pci/hda/hda_generic.h | |
parent | 29476558deb3017993366a3b0b45dff2acad495b (diff) | |
download | linux-fsl-qoriq-7a71bbf310cda13a713aab0c1dcf888707a54286.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index 142a571..43a8482 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; |