V4L/DVB: cx23885, cx25840: Report the actual length of an IR Rx timeout event
authorAndy Walls <awalls@md.metrocast.net>
Sun, 1 Aug 2010 02:28:37 +0000 (23:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:42:56 +0000 (23:42 -0300)
commit2560d94e330f35776e944b54256a526a19259429
treefb58a396664cf4b7e04566704d67e3df1a398144
parentceb152add687db152d90ba64b54687b3975963cf
V4L/DVB: cx23885, cx25840: Report the actual length of an IR Rx timeout event

Instead of reporting an IR Rx timeout event as a ridiculously
long space, report it as a space of the lenght of the timeout.

This partially fixes operation with LIRC without breaking
interoperation with the in kernel decoders.  The gaps lengths
reported to LIRC are still not real however.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-input.c
drivers/media/video/cx23885/cx23888-ir.c
drivers/media/video/cx25840/cx25840-ir.c