summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-11-28 14:55:36 +0300
committerTakashi Iwai <tiwai@suse.de>2008-11-28 14:55:36 +0300
commitdaead538e9d8efe61d7d2bd12993c8d961b0abd6 (patch)
tree3a60c0e26f5c499547fd77f5ce06deeeee473706 /sound/pci/hda/hda_codec.h
parent11cd41b893895c76a8f9bee9467f4b0869b5eeb3 (diff)
downloadlinux-daead538e9d8efe61d7d2bd12993c8d961b0abd6.tar.xz
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.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 9fe0b67bb1e4..43af18c4a214 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -784,6 +784,10 @@ struct hda_codec {
int power_count; /* current (global) power refcount */
struct delayed_work power_work; /* delayed task for powerdown */
#endif
+
+ /* codec-specific additional proc output */
+ void (*proc_widget_hook)(struct snd_info_buffer *buffer,
+ struct hda_codec *codec, hda_nid_t nid);
};
/* direction */