diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-11-28 06:55:36 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-28 06:55:36 -0500 |
commit | daead538e9d8efe61d7d2bd12993c8d961b0abd6 (patch) | |
tree | 3a60c0e26f5c499547fd77f5ce06deeeee473706 /sound/pci/hda/hda_codec.h | |
parent | 11cd41b893895c76a8f9bee9467f4b0869b5eeb3 (diff) |
ALSA: hda - Add codec-specific proc hook
Added a hook for proc outputs of codec-specific stuff.
Moved realtek-specific coeff output into patch_realtek.c as well.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 9fe0b67bb1e4..43af18c4a214 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -784,6 +784,10 @@ struct hda_codec { | |||
784 | int power_count; /* current (global) power refcount */ | 784 | int power_count; /* current (global) power refcount */ |
785 | struct delayed_work power_work; /* delayed task for powerdown */ | 785 | struct delayed_work power_work; /* delayed task for powerdown */ |
786 | #endif | 786 | #endif |
787 | |||
788 | /* codec-specific additional proc output */ | ||
789 | void (*proc_widget_hook)(struct snd_info_buffer *buffer, | ||
790 | struct hda_codec *codec, hda_nid_t nid); | ||
787 | }; | 791 | }; |
788 | 792 | ||
789 | /* direction */ | 793 | /* direction */ |