V4L/DVB (10856): cx18: Add interlock so sliced VBI insertion only happens for an...
authorAndy Walls <awalls@radix.net>
Mon, 2 Mar 2009 02:10:07 +0000 (23:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:09 +0000 (12:43 -0300)
commit49a53750b266899f259b1734a4a2c80d4376ba75
tree24a9bd49fc1119815a52f36513ef267764ab83ce
parentcb95a40e54b96938c2e81de6a95609e915922962
V4L/DVB (10856): cx18: Add interlock so sliced VBI insertion only happens for an MPEG PS

The cx18 private packet insertion code only expects to operate on an MPEG PS
when inserting private packets of sliced VBI data.  This patch keeps the cx18
driver from corrupting the MPEG TS or other non-PS stream types, in case the
user enables sliced VBI insertion for these MPEG stream types.

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