aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorPascal de Bruijn <pascal@unilogicnetworks.net>2009-03-23 11:15:59 +0100
committerTakashi Iwai <tiwai@suse.de>2009-03-23 11:55:36 +0100
commit234b4346a064f8a2a488da10b3c1e640fb778a17 (patch)
tree2623fc41ec71072bfe53269f5a7a6d4db05c6651 /sound/pci/hda/hda_codec.h
parentMerge branch 'topic/hda-optimize' into topic/hda (diff)
downloadlinux-dev-234b4346a064f8a2a488da10b3c1e640fb778a17.tar.xz
linux-dev-234b4346a064f8a2a488da10b3c1e640fb778a17.zip
ALSA: hda - Add function id to proc output
This patch does two things: Output Intel HDA Function Id in /proc/asound/cardX/codec#X Align Vendor/Subsystem/Revision Ids to 8 characters, front-padded with zeros Before: Vendor Id: 0x11d41884 Subsystem Id: 0x103c281a Revision Id: 0x100100 After: Function Id: 0x1 Vendor Id: 0x11d41884 Subsystem Id: 0x103c281a Revision Id: 0x0100100 As report on the Kernel Bugzilla #12888 Signed-off-by: Pascal de Bruijn <pascal@unilogicnetworks.net> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 079e1ab718d4..2fdecf4b0eb6 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -739,6 +739,7 @@ struct hda_codec {
hda_nid_t mfg; /* MFG node id */
/* ids */
+ u32 function_id;
u32 vendor_id;
u32 subsystem_id;
u32 revision_id;