patch-2.4.20 linux-2.4.20/drivers/sound/es1371.c
Next file: linux-2.4.20/drivers/sound/forte.c
Previous file: linux-2.4.20/drivers/sound/es1370.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Nov 28 15:53:14 2002
- Orig file:
linux-2.4.19/drivers/sound/es1371.c
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/sound/es1371.c linux-2.4.20/drivers/sound/es1371.c
@@ -2968,7 +2968,8 @@
/* turn on S/PDIF output driver if requested */
outl(cssr, s->io+ES1371_REG_STATUS);
/* register gameport */
- gameport_register_port(&s->gameport);
+ if(s->gameport.io)
+ gameport_register_port(&s->gameport);
/* store it in the driver field */
pci_set_drvdata(pcidev, s);
/* put it into driver list */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)