linux/drivers/media/rc
David Härdeman 9719afae5e [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap
store_protocols() treats dev->rc_map.rc_type as a bitmap which is wrong for
two reasons. First of all, it is pretty bogus to change the protocol type of
the keymap just because the hardware has been asked to decode a different
protocol.
Second, dev->rc_map.rc_type is an enum (i.e. a single protocol) as pointed
out by James Hogan <james.hogan@imgtec.com>.
Fix both issues by introducing a separate enabled_protocols member to
struct rc_dev.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-23 11:25:54 -03:00
..
keymaps [media] rc/keymaps: add RC keytable for MyGica X8507 2012-12-23 19:42:14 -02:00
Kconfig ARM: OMAP2+: Disable code that currently does not work with multiplaform 2013-01-11 11:24:20 -08:00
Makefile [media] media: rc: Introduce RX51 IR transmitter driver 2012-08-13 16:53:45 -03:00
ati_remote.c [media] rc: Make probe cleanup goto labels more verbose 2012-12-21 18:26:08 -02:00
ene_ir.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
ene_ir.h treewide: Fix comment and string typo 'bufer' 2011-12-06 09:53:40 +01:00
fintek-cir.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
fintek-cir.h [media] fintek-cir: add support for newer chip version 2012-02-14 16:53:53 -02:00
gpio-ir-recv.c [media] media: rc: gpio-ir-recv: add support for device tree parsing 2013-02-13 17:40:23 -02:00
iguanair.c [media] iguanair: intermittent initialization failure 2013-02-05 19:00:48 -02:00
imon.c [media] media/rc/imon.c: avoid flooding syslog with "unknown keypress" when keypad is pressed 2013-03-21 18:37:32 -03:00
ir-jvc-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-lirc-codec.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-mce_kbd-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-nec-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-raw.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-rc5-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-rc5-sz-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-rc6-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-rx51.c [media] Media: remove incorrect __init/__exit markups 2013-03-18 16:59:59 -03:00
ir-sanyo-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-sony-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ite-cir.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
ite-cir.h [media] ite-cir: 8709 needs to use pnp resource 2 2011-07-01 16:31:38 -03:00
lirc_dev.c lirc: get rid of bogus checks 2013-02-26 02:46:04 -05:00
mceusb.c [media] mceusb: move check earlier to make smatch happy 2013-02-13 17:33:53 -02:00
nuvoton-cir.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
nuvoton-cir.h [media] nuvoton-cir: carrier detect support is broken - remove it 2012-10-27 18:10:07 -02:00
rc-core-priv.h [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
rc-loopback.c [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02:00
rc-main.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
redrat3.c [media] redrat3: missing endian conversions and warnings 2013-03-19 15:14:04 -03:00
streamzap.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
ttusbir.c [media] ttusbir: add missing endian conversion 2013-02-08 14:12:12 -02:00
winbond-cir.c [media] winbond-cir: only enable higher sample resolution if needed 2013-02-05 18:59:23 -02:00