diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-07-17 17:29:45 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-30 15:26:26 -0400 |
commit | 9896bbc1972e3a0595f06c23692a20150a789308 (patch) | |
tree | 1dc4b82182251bc747c8f40b3a791607124c39dd /drivers/base/hypervisor.c | |
parent | 603d6f2c8f9f3604f9c6c1f8903efc2df30a000f (diff) |
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 <xyzzy@speakeasy.org>
Acked-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/base/hypervisor.c')
0 files changed, 0 insertions, 0 deletions