Update of /cvsroot/alsa/alsa-kernel/ppc
In directory sc8-pr-cvs1:/tmp/cvs-serv15017/ppc
Modified Files:
daca.c tumbler.c
Log Message:
- check rootfs before calling request_module() to avoid annoying
error messages at the boot time.
Index: daca.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/ppc/daca.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- daca.c 2 Sep 2003 14:02:34 -0000 1.10
+++ daca.c 7 Oct 2003 12:12:20 -0000 1.11
@@ -249,7 +249,8 @@
pmac_daca_t *mix;
#ifdef CONFIG_KMOD
- request_module("i2c-keywest");
+ if (current->fs->root)
+ request_module("i2c-keywest");
#endif /* CONFIG_KMOD */
mix = kmalloc(sizeof(*mix), GFP_KERNEL);
Index: tumbler.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/ppc/tumbler.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- tumbler.c 27 Aug 2003 16:44:23 -0000 1.23
+++ tumbler.c 7 Oct 2003 12:12:20 -0000 1.24
@@ -993,7 +993,8 @@
char *chipname;
#ifdef CONFIG_KMOD
- request_module("i2c-keywest");
+ if (current->fs->root)
+ request_module("i2c-keywest");
#endif /* CONFIG_KMOD */
mix = kmalloc(sizeof(*mix), GFP_KERNEL);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog