]> git.baikalelectronics.ru Git - kernel.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)
commitf2ec9fd3fe5a641eb95a334ff23162dc9a54c2e3
tree2623fc41ec71072bfe53269f5a7a6d4db05c6651
parente897680a5c6af495198af6250920fadb61dad4b0
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