lkml.org 
[lkml]   [2007]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] saa7134 fix
the fix in this commit:

| commit 58e78475ec706f93e0cc049449ffd11fbfdadb3e
| Author: Jeff Mahoney <jeffm@suse.com>
| Date: Wed Jun 27 14:09:58 2007 -0700
|
| saa7134: fix thread shutdown handling
|
| This patch changes the test for the thread pid from >= 0 to > 0.

might be incomplete - there's another place where this driver has a
pid >= 0 check. Should this be 'pid > 0' too?

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
drivers/media/video/saa7134/saa7134-tvaudio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: v/drivers/media/video/saa7134/saa7134-tvaudio.c
===================================================================
--- v.orig/drivers/media/video/saa7134/saa7134-tvaudio.c
+++ v/drivers/media/video/saa7134/saa7134-tvaudio.c
@@ -1020,7 +1020,7 @@ int saa7134_tvaudio_do_scan(struct saa71
dprintk("sound IF not in use, skipping scan\n");
dev->automute = 0;
saa7134_tvaudio_setmute(dev);
- } else if (dev->thread.pid >= 0) {
+ } else if (dev->thread.pid > 0) {
dev->thread.mode = UNSET;
dev->thread.scan2++;
wake_up_interruptible(&dev->thread.wq);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-06-29 20:29    [W:0.044 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site