lkml.org 
[lkml]   [1998]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [2.1.132] Modularized sound oops, OPL3-SA1 [FIXED][PATCH]

Many thanks to Bob McElrath <mcelrath@draal.physics.wisc.edu>, who helped
me discover the proper fix. Now the opl3sa modularized sound driver can be
autoloaded/unloaded and it will twiddle its usage count properly when this
one-liner patch is applied.

Chris Noe
(stiker@northlink.com)

--
---------------------------------------------------------
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
---- http://online.offshore.com.ai/arms-trafficker/ -----
--- linux-2.1.132/drivers/sound/opl3sa.c.orig Fri Dec 25 17:29:56 1998
+++ linux/drivers/sound/opl3sa.c Fri Dec 25 17:29:23 1998
@@ -260,6 +260,8 @@
hw_config->dma,
dma2,
0);
+ sound_unload_audiodev(hw_config->slots[0]);
}

void unload_opl3sa_mpu(struct address_info *hw_config)
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.021 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site