From: Trent Piepho Date: Tue, 17 Jul 2007 21:29:45 +0000 (-0300) Subject: V4L/DVB (5891): zr36067: Turn off raw capture properly X-Git-Tag: v2.6.23-rc2~153^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9896bbc1972e3a0595f06c23692a20150a789308;p=pandora-kernel.git V4L/DVB (5891): zr36067: Turn off raw capture properly When raw capture was turned off, the current capturing frame (v4l_grab_frame) wasn't reset to NO_GRAB_ACTIVE. If capture was turned back on, the driver would think this frame was currently being captured, and wait for it to complete before starting a new frame. The hardware on the other hand would not be actively capturing a frame. The result was the driver would wait forever for v4l_grab_frame to be captured. Some calls to zr36057_set_memgrab(0) were missing spin-locks, which have been added. Signed-off-by: Trent Piepho Acked-by: Ronald S. Bultje Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed