linux/drivers/media/IR
Jarod Wilson 22b0766b62 V4L/DVB: IR/mceusb: more streamlining of device init
Spent a while last night getting device initialization packet captures
under Windows for all generations of devices. There are a few places
where we were doing things differently, and few things we were doing
that we don't need to do, particularly on gen3 hardware, and I *think*
one of those things is what was locking up my pinnacle hw from time to
time -- at least, its been perfectly well behaved every time its been
plugged in since making this change.

First up, we're adding a bit more to the gen1 init routine here. Its
not absolutely necessary, the hardware works the same both with and
without it, but I'd like to be consistent w/Windows here.

Second, DEVICE_RESET is never called when initializing either of my
gen3 devices, its only called for gen1 and gen2. The bits in the gen3
init after removing that, are safe (and interesting) to run on all
hardware, so there's no more gen3-specific init done, there's instead
a generic mceusb_get_parameters() that is run for all hardware.

Third, the gen3 flag isn't needed. We only care if hardware is gen3
during probe, so I've dropped that from the device flags struct.

Successfully tested on all three generations of mceusb hardware.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-08-02 16:42:43 -03:00
..
keymaps V4L/DVB: IR: add empty lirc pseudo-keymap 2010-08-02 15:18:02 -03:00
imon.c V4L/DVB: IR/imon: auto-configure another 0xffdc device variant 2010-08-02 15:33:00 -03:00
ir-core-priv.h V4L/DVB: IR: add ir-core to lirc userspace decoder bridge driver 2010-08-02 15:16:20 -03:00
ir-functions.c V4L/DVB: ir-core: move subsystem internal calls to ir-core-priv.h 2010-05-19 12:57:04 -03:00
ir-jvc-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-keytable.c V4L/DVB: Bug fix: make IR work again for dm1105 2010-06-01 01:24:20 -03:00
ir-lirc-codec.c V4L/DVB: lirc: use unlocked_ioctl 2010-08-02 16:42:22 -03:00
ir-nec-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-raw-event.c V4L/DVB: IR: add ir-core to lirc userspace decoder bridge driver 2010-08-02 15:16:20 -03:00
ir-rc5-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-rc6-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-sony-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-sysfs.c V4L/DVB: IR: add ir-core to lirc userspace decoder bridge driver 2010-08-02 15:16:20 -03:00
Kconfig V4L/DVB: IR: jvc-decoder needs BITREVERSE 2010-08-02 15:36:32 -03:00
lirc_dev.c V4L/DVB: lirc: use unlocked_ioctl 2010-08-02 16:42:22 -03:00
lirc_dev.h V4L/DVB: lirc: use unlocked_ioctl 2010-08-02 16:42:22 -03:00
Makefile V4L/DVB: IR: add ir-core to lirc userspace decoder bridge driver 2010-08-02 15:16:20 -03:00
mceusb.c V4L/DVB: IR/mceusb: more streamlining of device init 2010-08-02 16:42:43 -03:00
rc-map.c V4L/DVB: media/IR: Add missing include file to rc-map.c 2010-05-19 12:59:12 -03:00