V4L/DVB (13905): cx18: Allow MPEG index streams to be started and stopped internally
authorAndy Walls <awalls@radix.net>
Thu, 31 Dec 2009 05:14:51 +0000 (02:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:29 +0000 (15:10 -0300)
commite46c54a87e4a6364b0e86b03cb3d00d09ef2f627
treef8b98c7aa54c80bd56c1dd54387f8153648aec0e
parent7b1dde03314912cfa9a5fa34ea9423df0db13860
V4L/DVB (13905): cx18: Allow MPEG index streams to be started and stopped internally

This change allows the IDX stream to be started and stopped as any other
stream even though it has no associated device node.  This is needed for
cx18 driver internal use.

Also always tell the CX23418 to generate index entries when an analog capture
starts and the IDX stream has had buffers allocated (i.e. is enabled).

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