aboutsummaryrefslogtreecommitdiffstats
path: root/sound/aoa/fabrics
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2006-12-07 02:24:12 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:02:20 -0500
commit61e77107fa849b69f50ebe96217ba3468a216ba8 (patch)
treef5de025be0eccc997f6b1f1bd0a3d511855b3276 /sound/aoa/fabrics
parente0e6ce0380e0c4de35371372bc5b6c2b02458597 (diff)
[ALSA] create device symlink in snd-aoa
create sysfs device symlinks for snd-aoa in /sys/class/sound/controlC0 This allows hald to recognize the device as sound device. Furthermore it allows the desktop user to actually access the sound device nodes. hald and related packages will modify the acl attributes. Fixes https://bugzilla.novell.com/show_bug.cgi?id=106294 Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/aoa/fabrics')
-rw-r--r--sound/aoa/fabrics/snd-aoa-fabric-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/fabrics/snd-aoa-fabric-layout.c b/sound/aoa/fabrics/snd-aoa-fabric-layout.c
index 172eb95476c0..4b8e32d1ebf9 100644
--- a/sound/aoa/fabrics/snd-aoa-fabric-layout.c
+++ b/sound/aoa/fabrics/snd-aoa-fabric-layout.c
@@ -1014,7 +1014,7 @@ static int aoa_fabric_layout_probe(struct soundbus_dev *sdev)
1014 1014
1015 ldev->gpio.methods->init(&ldev->gpio); 1015 ldev->gpio.methods->init(&ldev->gpio);
1016 1016
1017 err = aoa_fabric_register(&layout_fabric); 1017 err = aoa_fabric_register(&layout_fabric, &sdev->ofdev.dev);
1018 if (err && err != -EALREADY) { 1018 if (err && err != -EALREADY) {
1019 printk(KERN_INFO "snd-aoa-fabric-layout: can't use," 1019 printk(KERN_INFO "snd-aoa-fabric-layout: can't use,"
1020 " another fabric is active!\n"); 1020 " another fabric is active!\n");