SB: get rid of oops, SF16FMI radio

Petr Vandrovec Ing. VTEI (VANDROVE@vc.cvut.cz)
Tue, 24 Mar 1998 16:23:44 MET-1


Hello Alan and others,
it is possible that I missed out something, but I downloaded 2.1.91-pre1
and SB still does not work. I am sure that Alan works on this, but I think
that it is not good that there are still oopses for about 2 weeks now.
I'm not sure whether my patch is better than adding kmalloc() into place
where audio_devs[]->devc is initialized, but it is smaller and easier
(for me).

And if I am talking to linux-kernel: If there is somebody interested in,
I wrote kernel driver for FM radio available on Vibra SF16FMI soundcard. I
also modularized old RadioTrack driver. Patch against 2.1.91.1
is available on "ftp://platan.vc.cvut.cz/pub/linux/2.1.91.1/radio"
(patches for 2.1.88, 89 and 90 are also available at that address).
Petr Vandrovec
vandrove@vc.cvut.cz

diff -urN linux-2.1.90.dist/drivers/sound/sb_common.c linux/drivers/sound/sb_common.c
--- linux-2.1.90.dist/drivers/sound/sb_common.c Sat Mar 14 00:36:03 1998
+++ linux/drivers/sound/sb_common.c Wed Mar 18 15:54:59 1998
@@ -928,7 +928,7 @@
sound_unload_mididev(devc->my_mididev);
sound_unload_audiodev(devc->my_dev);
}
- kfree(devc);
+ /* kfree(devc); */
}
else
release_region(hw_config->io_base, 16);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu