summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorNigel Cunningham <ncunningham@cyclades.com>2005-07-27 11:43:35 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 16:25:49 -0700
commit5e50e7a99d04774506f4e1dee51afba37125cd3c (patch)
tree5fa2905ceae0791573b735b5a2f26ff4326deeb4 /drivers/media
parent0e6c1f5facffd94000832d402be1ea75f73c90e3 (diff)
[PATCH] Add missing tvaudio try_to_freeze()
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/tvaudio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c
index d8b78f1d686b..f42a1efa8fcf 100644
--- a/drivers/media/video/tvaudio.c
+++ b/drivers/media/video/tvaudio.c
@@ -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));