Update of /cvsroot/alsa/alsa-kernel/pci/ac97
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20142
Modified Files:
ac97_patch.c
Log Message:
ac97->pci might be null
Index: ac97_patch.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_patch.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- ac97_patch.c 21 Apr 2004 18:44:13 -0000 1.46
+++ ac97_patch.c 21 Apr 2004 18:50:52 -0000 1.47
@@ -471,7 +471,8 @@
int i;
/* Gateway M675 notebook */
- if (ac97->pci->subsystem_vendor == 0x107b &&
+ if (ac97->pci &&
+ ac97->pci->subsystem_vendor == 0x107b &&
ac97->pci->subsystem_device == 0x0601)
pregs = m675_regs;
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog