diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-07-27 12:58:06 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 09:58:10 -0400 |
commit | 2807314d467e7dd929c42050031aabbd28e78f0b (patch) | |
tree | d4d05f61ef8cc1115ae73af900b8012392321caa /sound/pci/hda/hda_codec.h | |
parent | ef5fa1a49fc3b5fe8e734f25fa61bc73ccba344e (diff) |
[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 6809386109c8..1370e346bf34 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <sound/info.h> | 24 | #include <sound/info.h> |
25 | #include <sound/control.h> | 25 | #include <sound/control.h> |
26 | #include <sound/pcm.h> | 26 | #include <sound/pcm.h> |
27 | #include <sound/hwdep.h> | ||
27 | 28 | ||
28 | /* | 29 | /* |
29 | * nodes | 30 | * nodes |
@@ -566,6 +567,8 @@ struct hda_codec { | |||
566 | unsigned int spdif_status; /* IEC958 status bits */ | 567 | unsigned int spdif_status; /* IEC958 status bits */ |
567 | unsigned short spdif_ctls; /* SPDIF control bits */ | 568 | unsigned short spdif_ctls; /* SPDIF control bits */ |
568 | unsigned int spdif_in_enable; /* SPDIF input enable? */ | 569 | unsigned int spdif_in_enable; /* SPDIF input enable? */ |
570 | |||
571 | struct snd_hwdep *hwdep; /* assigned hwdep device */ | ||
569 | }; | 572 | }; |
570 | 573 | ||
571 | /* direction */ | 574 | /* direction */ |