linux/drivers/media/video/em28xx
Mauro Carvalho Chehab c373cabfbb V4L/DVB: em28xx: fix a regression caused by the rc-map changes
The patch that adds the rc-map changes didn't take into account that an
a table with IR_TYPE_UNKNOWN would make change_protocol to return -EINVAL.

As this function is fundamental to initialize some data, including a
callback to the getkey function, this caused the driver to stop working,
hanging the machine most of the times.

The fix were simply to add a handler for the IR type, but, to avoid further
issues, explicitly call change_protocol and handle the error before
initializing the IR. Also, let input_dev to start/stop IR handling,
after the opening of the input device.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:57:00 -03:00
..
em28xx-audio.c V4L/DVB: em28xx: "Empia Em28xx Audio" too long 2010-05-18 00:51:18 -03:00
em28xx-cards.c V4L/DVB: ir-core: Make use of the new IR keymap modules 2010-05-19 12:56:50 -03:00
em28xx-core.c V4L/DVB: em28xx: reduce cropping for VBI area 2010-05-18 00:50:13 -03:00
em28xx-dvb.c V4L/DVB: em28xx: Support for Kworld VS-DVB-T 323UR 2010-05-18 00:46:34 -03:00
em28xx-i2c.c V4L/DVB (12343): Stop defining I2C adapter IDs nobody uses 2009-09-12 12:18:13 -03:00
em28xx-input.c V4L/DVB: em28xx: fix a regression caused by the rc-map changes 2010-05-19 12:57:00 -03:00
em28xx-reg.h V4L/DVB (13915): em28xx: fix a typo on RC6 modes 2010-02-26 15:10:30 -03:00
em28xx-vbi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
em28xx-video.c V4L/DVB: em28xx: rework buffer pointer tracking for offset to start of video 2010-05-18 00:50:14 -03:00
em28xx.h V4L/DVB: ir-core: Make use of the new IR keymap modules 2010-05-19 12:56:50 -03:00
Kconfig V4L/DVB (12951): em28xx: add Reddo DVB-C USB TV Box 2009-09-19 00:15:32 -03:00
Makefile V4L/DVB (12742): em28xx: add raw VBI support for NTSC 2009-09-18 23:47:41 -03:00