]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: hda - Add function id to proc output
authorPascal de Bruijn <pascal@unilogicnetworks.net>
Mon, 23 Mar 2009 10:15:59 +0000 (11:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2009 10:55:36 +0000 (11:55 +0100)
commit234b4346a064f8a2a488da10b3c1e640fb778a17
tree2623fc41ec71072bfe53269f5a7a6d4db05c6651
parentc9840cf4cf12a4ec4fe3c4db3c28f638d06e942b
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>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_proc.c