]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/media/IR/imon.c
V4L/DVB: IR/imon: add auto-config for 0xffdc rf device
authorJarod Wilson <jarod@redhat.com>
Mon, 24 May 2010 15:02:05 +0000 (12:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 1 Jun 2010 04:23:26 +0000 (01:23 -0300)
commitbbe4690f6caef2b36c95dd50e59bc3f4e2eaa6ad
tree214da3d78e2d3d190d7f6b6c3cf1bb8e974ba865
parentf789bf4013e5e003e5d75ec0b8fa280aa66f401f
V4L/DVB: IR/imon: add auto-config for 0xffdc rf device

Add auto-config support for iMON 2.4G LT RF device, based on
debug output from Giulio Amodeo in Red Hat bugzilla #572288.

Also flips the switch on only setting up the rf associate sysfs
attr only if we think we're looking at an RF device, vs. previously,
setting up the attr for all 0xffdc devices, so its possible (but a bit
unlikely) there's another iMON RF device we'll have to fix up.

Nb: should be applied after "IR/imon: clean up usage of bools", or there
will be a slight contextual mismatch.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/imon.c