summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
authorNigel Cunningham <ncunningham@cyclades.com>2005-07-27 20:43:35 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-28 01:25:49 +0200
commit5e50e7a99d04774506f4e1dee51afba37125cd3c (patch)
tree5fa2905ceae0791573b735b5a2f26ff4326deeb4 /drivers/media/video/tvaudio.c
parent[PATCH] try_to_freeze() call fixes (diff)
downloadlinux-5e50e7a99d04774506f4e1dee51afba37125cd3c.tar.xz
linux-5e50e7a99d04774506f4e1dee51afba37125cd3c.zip
[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/video/tvaudio.c')
-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));