V4L/DVB (13097): cx23885: Complete CX23888 IR subdev implementation for Rx & almost...
commit1a0b9d89c62ddf0aed12798686fe452e7e97de42
authorAndy Walls <awalls@radix.net>
Sun, 27 Sep 2009 21:31:37 +0000 (27 18:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:20 +0000 (5 18:40 -0200)
tree44cf19886ba11465d8dd78e267d5b56229985495
parent1d986add96a06f311cfef377b36602514db54507
V4L/DVB (13097): cx23885: Complete CX23888 IR subdev implementation for Rx & almost for Tx

This change completes the v4l2_subdev implementation for IR receive for the
IR controller built into the CX23888.

This changes almost completes the IR transmit side also, but doesn't.  Instead
notes in the comments describe what needs to be done for IR Tx to work in the
subdevice implementation.

The current Tx behavior is skeletal and benign.  If left alone, it does nothing.
It will only ever generate a Tx interrupt on Tx init by a caller or when the
tx_write() method is called.  The ISR, when called, will then disable the Tx
FIFO service interrupt.

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