ALSA: add /sys/class/sound/card#/id (r/w) and card#/number (r/o) files
authorJaroslav Kysela <perex@perex.cz>
Tue, 11 Nov 2008 15:51:02 +0000 (16:51 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Nov 2008 14:55:44 +0000 (15:55 +0100)
commit9fb6198e8c574c6547fbfac0ae1eaf7894ddfdcc
tree0645ecdd6ee70589fb0e61868e74bc28b87d59f4
parentf21f237cf55494c3a4209de323281a3b0528da10
ALSA: add /sys/class/sound/card#/id (r/w) and card#/number (r/o) files

For udev, we need a way to rename soundcard names. The soundcard numbers
(indexes) are hardwired but we have a text identification which can be
changed at run-time. The ALSA user space tools already allow using of
this text identification.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c