From 76216b200b94d2dfba09c5c57787cd9a626b3e51 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 25 Jul 2005 17:39:00 +0000 Subject: * msp3400.c: - try_to_freeze moved to the right place. * tvaudio.c: - Tvaudio lacks a refrigerator call. This patch fixes that. Signed-off-by: Michael Krufky Signed-off-by: Nigel Cunningham Signed-off-by: Mauro Carvalho Chehab CVSi- ce. --- linux/drivers/media/video/tvaudio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux/drivers/media/video/tvaudio.c') diff --git a/linux/drivers/media/video/tvaudio.c b/linux/drivers/media/video/tvaudio.c index 283726ce5..ca4195de0 100644 --- a/linux/drivers/media/video/tvaudio.c +++ b/linux/drivers/media/video/tvaudio.c @@ -303,6 +303,10 @@ static int chip_thread(void *data) schedule(); } remove_wait_queue(&chip->wq, &wait); +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12) + try_to_freeze(); +#endif + if (chip->done || signal_pending(current)) break; dprintk("%s: thread wakeup\n", i2c_clientname(&chip->c)); -- cgit v1.2.3