Update of /cvsroot/alsa/alsa-kernel/isa/cs423x
In directory sc8-pr-cvs1:/tmp/cvs-serv10312/isa/cs423x
Modified Files:
cs4236.c
Log Message:
- added snd_card_set_dev() macro.
- sysfsfied more pci, isapnp and usb drivers.
Index: cs4236.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/cs423x/cs4236.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- cs4236.c 11 Nov 2003 13:15:45 -0000 1.39
+++ cs4236.c 21 Jan 2004 18:32:47 -0000 1.40
@@ -431,10 +431,13 @@
acard = (struct snd_card_cs4236 *)card->private_data;
card->private_free = snd_card_cs4236_free;
#ifdef CONFIG_PNP
- if (isapnp[dev] && (err = snd_card_cs4236_pnp(dev, acard, pcard, pid))<0) {
- printk(KERN_ERR "isapnp detection failed and probing for " IDENT " is
not supported\n");
- snd_card_free(card);
- return -ENXIO;
+ if (isapnp[dev]) {
+ if ((err = snd_card_cs4236_pnp(dev, acard, pcard, pid))<0) {
+ printk(KERN_ERR "isapnp detection failed and probing for "
IDENT " is not supported\n");
+ snd_card_free(card);
+ return -ENXIO;
+ }
+ snd_card_set_dev(card, &pcard->card->dev);
}
#endif
if (sb_port[dev] > 0 && sb_port[dev] != SNDRV_AUTO_PORT)
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog