cmipci patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi

according to this bug --> 
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2491
i attached the diff for commit.

regards
felix
_______________________________________
http://www.lehrsaiten.de
http://sourceforge.net/projects/pokerth
--- alsa-driver-hg20070119/alsa-kernel/pci/cmipci.c	2006-12-21 02:00:15.000000000 +0100
+++ cmipci.c	2007-01-19 10:46:37.000000000 +0100
@@ -2779,6 +2779,13 @@
 	struct snd_opl3 *opl3;
 	int err;
 
+ 
+ 	if ( fm_port == 0 ) {
+ 		snd_cmipci_clear_bit(cm, CM_REG_MISC_CTRL, CM_FM_EN);
+ 		return 0;
+ 	}
+ 
+
 	/* first try FM regs in PCI port range */
 	iosynth = cm->iobase + CM_REG_FM_PCI;
 	err = snd_opl3_create(cm->card, iosynth, iosynth + 2,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux