diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-07-25 17:39:00 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-07-25 17:39:00 +0000 |
commit | 76216b200b94d2dfba09c5c57787cd9a626b3e51 (patch) | |
tree | a6de29b9d5aef486c46f77e5f71114748d1035a9 /linux/drivers/media/video/tvaudio.c | |
parent | 6a4f71143cbf4fb30903020ce12de12cf48c4979 (diff) | |
download | mediapointer-dvb-s2-76216b200b94d2dfba09c5c57787cd9a626b3e51.tar.gz mediapointer-dvb-s2-76216b200b94d2dfba09c5c57787cd9a626b3e51.tar.bz2 |
* 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 <mkrufky@m1k.net>
Signed-off-by: Nigel Cunningham <ncunningham@suspend2.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
CVSi- ce.
Diffstat (limited to 'linux/drivers/media/video/tvaudio.c')
-rw-r--r-- | linux/drivers/media/video/tvaudio.c | 4 |
1 files changed, 4 insertions, 0 deletions
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)); |