]> err.no Git - linux-2.6/commit
V4L/DVB (5575): Pvrusb2: Implement ability to disable IR receiver
authorMike Isely <isely@pobox.com>
Sat, 28 Apr 2007 23:11:03 +0000 (20:11 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 9 May 2007 13:12:34 +0000 (10:12 -0300)
commit5c808e641741ecd7a7d5e65e38f740378d7406fc
tree60a142f32e38d9e19fc8dc9c972ccd753e24a758
parentdb71b7df76dab261cc9f27525765211bd58345b1
V4L/DVB (5575): Pvrusb2: Implement ability to disable IR receiver

Anyone using multiple PVR USB2 devices really only want one of them
acting as the actual IR receiver.

Implemented here is a new per-instance module option (ir_mode) which is
a flag to enable the IR receiver.  The default is enabled.

IR reception is disabled by blocking access to the IR receiver chip in
the device.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-i2c-core.c