summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/keymaps/rc-imon-mce.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2010-04-23 02:27:11 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:58:24 -0300
commit6718e8ad950f73fc895b98a413a63cb2add3b4d2 (patch)
tree45ef313730c83d671131957f6a3eb7dba07a8c61 /drivers/media/IR/keymaps/rc-imon-mce.c
parent0a4f8d0798c834472b9d8d50df32b62c733009fd (diff)
V4L/DVB: IR/imon: convert to ir-core protocol change handling
Drop the imon driver's internal protocol definitions in favor of using those provided by ir-core. Should make ir-keytable Just Work for switching protocol on the fly on the imon devices that support both the native imon remotes and mce remotes. The imon-no-pad-stabilize pseudo-protocol was dropped as a protocol, and converted to a separate modprobe option (which it probably should have been in the first place). On the TODO list is to convert this to an as yet unwritten protocol-specific options framework. While the mce remotes obviously map to IR_TYPE_RC6, I've yet to look at what the actual ir signals from the native imon remotes are, so for the moment, imon native ir is mapped to IR_TYPE_OTHER. Nailing it down more accurately is also on the TODO list. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/keymaps/rc-imon-mce.c')
-rw-r--r--drivers/media/IR/keymaps/rc-imon-mce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/IR/keymaps/rc-imon-mce.c b/drivers/media/IR/keymaps/rc-imon-mce.c
index 9c6dda30c649..e49f350e3a0d 100644
--- a/drivers/media/IR/keymaps/rc-imon-mce.c
+++ b/drivers/media/IR/keymaps/rc-imon-mce.c
@@ -119,8 +119,8 @@ static struct rc_keymap imon_mce_map = {
.map = {
.scan = imon_mce,
.size = ARRAY_SIZE(imon_mce),
- /* its actually RC6, but w/a hardware decoder */
- .ir_type = IR_TYPE_UNKNOWN,
+ /* its RC6, but w/a hardware decoder */
+ .ir_type = IR_TYPE_RC6,
.name = RC_MAP_IMON_MCE,
}
};