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)
commit0ffd1ab34a00b1e92af50ef11e696839f4cf642b
treea9465fffab8d37fe22ab64cc7df95f121a073823
parent5af935cc96a291f90799bf6a2587d87329a91699
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