This patch set implements rc-core change_protocol callback. With this, the dib0700 driver will automatically set the right protocol, depending on the device model, and, if the user wants, the table can be easily replaced at userspace, via ir-keytable application, available at v4l-utils git tree. Mauro Carvalho Chehab (3): V4L/DVB: dib0700: break keytable into NEC and RC-5 variants V4L/DVB: dib0700: properly implement IR change_protocol V4L/DVB: dib0700: Fix RC protocol logic to properly handle NEC/NECx and RC-5 drivers/media/IR/keymaps/Makefile | 3 +- drivers/media/IR/keymaps/rc-dib0700-big.c | 314 --------------------------- drivers/media/IR/keymaps/rc-dib0700-nec.c | 124 +++++++++++ drivers/media/IR/keymaps/rc-dib0700-rc5.c | 235 ++++++++++++++++++++ drivers/media/dvb/dvb-usb/dib0700.h | 1 + drivers/media/dvb/dvb-usb/dib0700_core.c | 115 ++++++---- drivers/media/dvb/dvb-usb/dib0700_devices.c | 183 +++++++++++++--- drivers/media/dvb/dvb-usb/dvb-usb.h | 2 + include/media/rc-map.h | 5 +- 9 files changed, 588 insertions(+), 394 deletions(-) delete mode 100644 drivers/media/IR/keymaps/rc-dib0700-big.c create mode 100644 drivers/media/IR/keymaps/rc-dib0700-nec.c create mode 100644 drivers/media/IR/keymaps/rc-dib0700-rc5.c -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html