From: Thierry Date: Mon, 4 Dec 2006 11:31:17 +0000 (-0300) Subject: V4L/DVB (4928): Usbvision_v4l2 robustness on disconnect X-Git-Tag: v2.6.20-rc1~145^2~5^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f7fb877be14da92803f0b5b60955e071ebe2d58;p=pandora-kernel.git V4L/DVB (4928): Usbvision_v4l2 robustness on disconnect This patch corrects 2 bugs (causes kernel oops) that occur when unplugging the peripheral whereas nobody has opened it yet : - do not call usbvision_stop_isoc if usbvision_init_isoc has not been called - do not call wakeup_interruptible on waitqueues that did not have been initialized with init_waitqueue_head Signed-off-by: Thierry MERLE Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed