]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: dib0700: properly implement IR change_protocol
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 1 Aug 2010 12:37:23 +0000 (09:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 19:43:50 +0000 (16:43 -0300)
commit5df016505e78cdb1e4d826e5d59a45b5a3e8b97c
treea9465fffab8d37fe22ab64cc7df95f121a073823
parent48c799ffbdaf0793bb3337d00079e217a2629527
V4L/DVB: dib0700: properly implement IR change_protocol

This patch implements change_protocol callback. With this change,
there's no need for an extra modprobe parameter to specify the
protocol. When a table is loaded (either from in-kernel rc-map
tables or via ir-keytable program), the driver will automatically
change the protocol, in order to work with the given table.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700.h
drivers/media/dvb/dvb-usb/dib0700_core.c
drivers/media/dvb/dvb-usb/dib0700_devices.c
drivers/media/dvb/dvb-usb/dvb-usb.h