summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-01-20 12:53:27 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-01-20 12:53:27 -0200
commitc0720857a3c9833755f75a795763004cf643a0ae (patch)
tree3cc877cf1b1cbe60396af57e2e34c1c0bb47fdae /linux/drivers/media/video
parenta931965bb4634bd1c0e01144258dd708d7365f7b (diff)
downloadmediapointer-dvb-s2-c0720857a3c9833755f75a795763004cf643a0ae.tar.gz
mediapointer-dvb-s2-c0720857a3c9833755f75a795763004cf643a0ae.tar.bz2
rmmod should be reset to zero on kernel 2.4
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/vivi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/vivi.c b/linux/drivers/media/video/vivi.c
index 155c9a75a..ddedd7fbb 100644
--- a/linux/drivers/media/video/vivi.c
+++ b/linux/drivers/media/video/vivi.c
@@ -610,6 +610,7 @@ static int vivi_start_thread(struct vivi_dmaqueue *dma_q)
dma_q->kthread = NULL;
dma_q->notify = &sem;
+ dma_q->rmmod = 0;
if (kernel_thread(vivi_thread, dma_q, 0) < 0) {
printk (KERN_ERR "sdim: kernel_thread() failed\n");