summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorMatthew Ranostay2008-07-18 18:20:52 +0200
committerJaroslav Kysela2008-07-20 19:17:49 +0200
commit1cd2224cd01898a13138f4ab476932cfb689839e (patch)
treeb482e8f8e6e51fd5143ac9ef7edc88194b031d9c /sound/pci/hda/hda_codec.h
parentALSA: re-order AC97 codec ID table. (diff)
downloadkernel-qcow2-linux-1cd2224cd01898a13138f4ab476932cfb689839e.tar.gz
kernel-qcow2-linux-1cd2224cd01898a13138f4ab476932cfb689839e.tar.xz
kernel-qcow2-linux-1cd2224cd01898a13138f4ab476932cfb689839e.zip
ALSA: hda: digital pc-beep support hd-audio codecs
Added digital pc-beep support using linear tone generation for hd-codecs along with initial support for several IDT codecs. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index efc682888b31..3a63c445d36b 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -449,6 +449,7 @@ enum {
*/
struct hda_bus;
+struct hda_beep;
struct hda_codec;
struct hda_pcm;
struct hda_pcm_stream;
@@ -634,6 +635,9 @@ struct hda_codec {
/* codec specific info */
void *spec;
+ /* beep device */
+ struct hda_beep *beep;
+
/* widget capabilities cache */
unsigned int num_nodes;
hda_nid_t start_nid;