summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/soc_camera.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-08-25 11:46:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 00:18:51 -0300
commitcca0e54905259a456d97652d4f1e2fe8b188b6ad (patch)
tree82a0af7fadc341e4955628f45c2110439c9701e8 /drivers/media/video/soc_camera.c
parentfa48984e36ee73e964eeb994a45de6525114e871 (diff)
V4L/DVB (12520): sh-mobile-ceu-camera: do not wait for interrupt when releasing buffers
Patch [PATCH] video: use videobuf_waiton() in sh_mobile_ceu free_buffer() was not quite correct. It closed a race, but introduced a potential lock-up, if for some reason an interrupt does not come. This has been observed in tests with tw9910. This patch safely dequeues buffers without waiting for their completion. It also moves a buffer state assignment under a spinlock to make it atomic with queuing of the buffer. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/soc_camera.c')
0 files changed, 0 insertions, 0 deletions