V4L/DVB (5074): Some fixes at stream waitqueue on vivi
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 14 Jan 2007 11:33:24 +0000 (08:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:21 +0000 (13:34 -0200)
commit0b600512860cab5a0bb4647f5f726a91bce2633c
tree5529e311a32d5581c6fc152d7eab1c4b9768b5d2
parentdf3a710458462aa9427cdeec947bf71af257e8dd
V4L/DVB (5074): Some fixes at stream waitqueue on vivi

There are several potential troubles on vivi waitqueue code:
- Watchdog timer should be reset at every received frame;
- Watchdog timer should be reset at the beginning of vivi_thread();
- Checks for errors when creating a newer thread with kernel_thread();
- Wake up vivi_thread() after creating it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/vivi.c