linux/drivers/media
Guennadi Liakhovetski cca0e54905 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>
2009-09-19 00:18:51 -03:00
..
common V4L/DVB (12964): tuner-core: add support for NXP TDA18271 without TDA829X demod 2009-09-19 00:16:01 -03:00
dvb V4L/DVB (12962): ce6230: increase BULK transfer size from 512 to 8192 2009-09-19 00:15:54 -03:00
radio V4L/DVB (12612): si4713: simplify the code to remove a compiler warning. 2009-09-12 12:19:50 -03:00
video V4L/DVB (12520): sh-mobile-ceu-camera: do not wait for interrupt when releasing buffers 2009-09-19 00:18:51 -03:00
Kconfig V4L/DVB (11881): one kconfig controls them all 2009-06-16 18:21:16 -03:00
Makefile