]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (8774): cx18: Have CX23418 release buffers at end of capture.
authorAndy Walls <awalls@radix.net>
Sat, 23 Aug 2008 21:36:50 +0000 (18:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:53 +0000 (09:36 -0200)
commit3195567825e0f835efcf21f455645604998da6e4
tree444d0324ac1d87e6ba379ccb97a743797d951f18
parent93aef43d3bdc4ae33ea100c791106f8773843880
V4L/DVB (8774): cx18: Have CX23418 release buffers at end of capture.

cx18: Have CX23418 release buffers at end of capture.  The CX23418 reuses task
handles so we need to have it release the buffers associated with a task handle
at the end of a capture.  If we don't, buffer ids used for one type of stream
in the driver (MPEG, TS, PCM), could be used for another type of stream by the
CX23418, if a previously used handle is assigned to a different type of stream.
The driver would drop valid buffers when this happened.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-mailbox.c
drivers/media/video/cx18/cx18-streams.c
drivers/media/video/cx18/cx23418.h