diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-07-30 09:01:46 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-12 20:43:03 -0400 |
commit | 11aeff082ad9bd00e8475bf1630c3264344d3764 (patch) | |
tree | fc00a9f4ccaa392032f09acbbd7d460f2e4d17de /sound/pci/hda/hda_codec.h | |
parent | d7ffba19ce4c1b153d502a89d829400bf76d6c11 (diff) |
ALSA: hda - Add init_verbs entries
This patch enables the additional init verbs for each codec. The verbs
can be entered via hwdep sysfs file. These verbs are executed at
reconfiguring the codec for non-standard setups like overriding
the pin-defcfg.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index ce9f69bde328..38a9bb6bafb0 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -751,7 +751,10 @@ struct hda_codec { | |||
751 | unsigned int spdif_in_enable; /* SPDIF input enable? */ | 751 | unsigned int spdif_in_enable; /* SPDIF input enable? */ |
752 | hda_nid_t *slave_dig_outs; /* optional digital out slave widgets */ | 752 | hda_nid_t *slave_dig_outs; /* optional digital out slave widgets */ |
753 | 753 | ||
754 | #ifdef CONFIG_SND_HDA_HWDEP | ||
754 | struct snd_hwdep *hwdep; /* assigned hwdep device */ | 755 | struct snd_hwdep *hwdep; /* assigned hwdep device */ |
756 | struct snd_array init_verbs; /* additional init verbs */ | ||
757 | #endif | ||
755 | 758 | ||
756 | /* misc flags */ | 759 | /* misc flags */ |
757 | unsigned int spdif_status_reset :1; /* needs to toggle SPDIF for each | 760 | unsigned int spdif_status_reset :1; /* needs to toggle SPDIF for each |