]> err.no Git - linux-2.6/commitdiff
[PATCH] Add missing tvaudio try_to_freeze()
authorNigel Cunningham <ncunningham@cyclades.com>
Wed, 27 Jul 2005 18:43:35 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:49 +0000 (16:25 -0700)
Tvaudio lacks a refrigerator call. This patch fixes that.

Signed-off-by: Nigel Cunningham <ncunningham@suspend2.net>
Cc: <video4linux-list@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/tvaudio.c

index d8b78f1d686b1081dfeb34a4a20856fdfd63f965..f42a1efa8fcfa8c4ce83fbe7b6a6dae7337ff645 100644 (file)
@@ -285,6 +285,7 @@ static int chip_thread(void *data)
                        schedule();
                }
                remove_wait_queue(&chip->wq, &wait);
+               try_to_freeze();
                if (chip->done || signal_pending(current))
                        break;
                dprintk("%s: thread wakeup\n", i2c_clientname(&chip->c));