Hi, 

If the IR worker is not stopped before the removal of the cx88xx module, 
an OOPS may occur, because the worker function cx88_ir_work gets called. 
So stop the ir worker.


Signed-off-by: Marton Balint <[EMAIL PROTECTED]>
--- drivers/media/video/cx88/cx88-video.c.old	2008-03-18 01:25:04.000000000 +0100
+++ drivers/media/video/cx88/cx88-video.c	2008-03-18 01:26:25.000000000 +0100
@@ -1891,6 +1891,9 @@ static void __devexit cx8800_finidev(str
 		core->kthread = NULL;
 	}
 
+	if (core->ir)
+		cx88_ir_stop(core, core->ir);
+
 	cx88_shutdown(core); /* FIXME */
 	pci_disable_device(pci_dev);
 
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Reply via email to