aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/saa7134/saa7134-tvaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-tvaudio.c b/drivers/media/video/saa7134/saa7134-tvaudio.c
index 7b56041186dc..30395d6b5f14 100644
--- a/drivers/media/video/saa7134/saa7134-tvaudio.c
+++ b/drivers/media/video/saa7134/saa7134-tvaudio.c
@@ -1005,7 +1005,7 @@ int saa7134_tvaudio_init2(struct saa7134_dev *dev)
1005int saa7134_tvaudio_fini(struct saa7134_dev *dev) 1005int saa7134_tvaudio_fini(struct saa7134_dev *dev)
1006{ 1006{
1007 /* shutdown tvaudio thread */ 1007 /* shutdown tvaudio thread */
1008 if (dev->thread.pid >= 0) { 1008 if (dev->thread.pid > 0) {
1009 dev->thread.shutdown = 1; 1009 dev->thread.shutdown = 1;
1010 wake_up_interruptible(&dev->thread.wq); 1010 wake_up_interruptible(&dev->thread.wq);
1011 wait_for_completion(&dev->thread.exit); 1011 wait_for_completion(&dev->thread.exit);