Browse Source

[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>
Nigel Cunningham 20 years ago
parent
commit
5e50e7a99d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/video/tvaudio.c

+ 1 - 0
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));