[media] imon: allow either proto on unknown 0xffdc
authorJarod Wilson <jarod@redhat.com>
Mon, 20 Jun 2011 03:07:13 +0000 (00:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 19:34:01 +0000 (16:34 -0300)
commit372b4249243d1e7c12a0f2b67e7badc608fcff45
tree9f4800bd6a425f88498f88496d82b59cfbf06176
parent842071c9ea021a42256386cb0cbe3735af33c4db
[media] imon: allow either proto on unknown 0xffdc

While 0xffdc devices have their IR protocol hard-coded into the firmware
of the device, we have no known way of telling what it is if we don't
have the device's config byte already in the driver. Unknown devices
default to the imon native protocol, but might actually be rc6, so we
should set the driver up such that the user can load the rc6 keytable
from userspace and still have a working device ahead of its config byte
being added to the driver.

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