original_kernel/drivers/media/IR
Brian Rogers a08c7c68f7 V4L/DVB: ir-core: Fix null dereferences in the protocols sysfs interface
For some cards, ir_dev->props and ir_dev->raw are both NULL. These cards are
using built-in IR decoding instead of raw, and can't easily be made to switch
protocols.

So upon reading /sys/class/rc/rc?/protocols on such a card, return 'builtin' as
the supported and enabled protocol. Return -EINVAL on any attempts to change
the protocol. And most important of all, don't crash.

Signed-off-by: Brian Rogers <brian@xyzw.org>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-09-30 07:18:37 -03:00
..
keymaps V4L/DVB: IR: extend MCE keymap 2010-09-27 22:21:56 -03:00
Kconfig
Makefile
ene_ir.c
ene_ir.h
imon.c
ir-core-priv.h
ir-functions.c
ir-jvc-decoder.c
ir-keytable.c V4L/DVB: IR: fix keys beeing stuck down forever 2010-09-27 22:21:55 -03:00
ir-lirc-codec.c V4L/DVB: IR: fix duty cycle capability 2010-09-27 22:21:54 -03:00
ir-nec-decoder.c
ir-raw-event.c
ir-rc5-decoder.c
ir-rc6-decoder.c
ir-sony-decoder.c
ir-sysfs.c V4L/DVB: ir-core: Fix null dereferences in the protocols sysfs interface 2010-09-30 07:18:37 -03:00
lirc_dev.c
mceusb.c
rc-map.c
streamzap.c