diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-07-27 18:58:06 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 15:58:10 +0200 |
commit | 2807314d467e7dd929c42050031aabbd28e78f0b (patch) | |
tree | d4d05f61ef8cc1115ae73af900b8012392321caa /sound/pci/hda/hda_codec.h | |
parent | ef5fa1a49fc3b5fe8e734f25fa61bc73ccba344e (diff) | |
download | op-kernel-dev-2807314d467e7dd929c42050031aabbd28e78f0b.zip op-kernel-dev-2807314d467e7dd929c42050031aabbd28e78f0b.tar.gz |
[ALSA] hda-intel - Add hwdep interface
Added a hwdep interface for each codec (enabled per kconfig).
This interface can be used for reading/writing HD-audio verbs
and other purposes as future extensions.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
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 6809386..1370e34 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -24,6 +24,7 @@ #include <sound/info.h> #include <sound/control.h> #include <sound/pcm.h> +#include <sound/hwdep.h> /* * nodes @@ -566,6 +567,8 @@ struct hda_codec { unsigned int spdif_status; /* IEC958 status bits */ unsigned short spdif_ctls; /* SPDIF control bits */ unsigned int spdif_in_enable; /* SPDIF input enable? */ + + struct snd_hwdep *hwdep; /* assigned hwdep device */ }; /* direction */ |