]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] Add pcm_class attribute to PCM sysfs entry
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Sep 2006 12:27:46 +0000 (14:27 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:46:32 +0000 (10:46 +0200)
commit870ed984dbdec7290da2019cc99aeb48096aecaa
treedffe11da7daa0b27225c08badee58628923d961b
parentd9b40587676ed3e62ffc6f6383ed0af4d47140c1
[ALSA] Add pcm_class attribute to PCM sysfs entry

This patch adds a new attribute, pcm_class, to each PCM sysfs entry.
It's useful to detect what kind of PCM stream is, for example, HAL
can check whether it's a modem or not.

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