V4L/DVB (5073): Fix OOPS on some waitqueue conditions
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 13 Jan 2007 12:25:16 +0000 (09:25 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:21 +0000 (13:34 -0200)
commitdf3a710458462aa9427cdeec947bf71af257e8dd
treee670084d11b28fe3da8e46cf03fff909b1a7c19e
parentae1942c5712f700c9ccc8cc287c51db4daaa50d7
V4L/DVB (5073): Fix OOPS on some waitqueue conditions

If for some reason vivi_thread() fails, vivi will suffer an OOPS at
thread stop code, since waitqueue wouldn't be properly initializated.

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