linux-uconsole/drivers/media/rc
Ben Hutchings 8a6c264be0 media: rc: ite-cir: Initialise ite_dev::rdev earlier
commit 4b961180ef upstream.

ite_dev::rdev is currently initialised in ite_probe() after
rc_register_device() returns.  If a newly registered device is opened
quickly enough, we may enable interrupts and try to use ite_dev::rdev
before it has been initialised.  Move it up to the earliest point we
can, right after calling rc_allocate_device().

Reported-and-tested-by: YunQiang Su <wzssyqa@gmail.com>

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-13 05:28:02 +09:00
..
keymaps [media] keymaps: fix table for pinnacle pctv hd devices 2011-07-01 16:31:54 -03:00
ene_ir.c media: rc: Postpone ISR registration 2012-05-21 09:40:01 -07:00
ene_ir.h [media] rc: fix up and genericize some time unit conversions 2011-01-19 11:45:52 -02:00
fintek-cir.c media: rc: Postpone ISR registration 2012-05-21 09:40:01 -07:00
fintek-cir.h [media] fintek-cir: new driver for Fintek LPC SuperIO CIR function 2011-05-25 20:07:58 -03:00
imon.c [media] imon: allow either proto on unknown 0xffdc 2011-07-01 16:34:01 -03:00
ir-jvc-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ir-lirc-codec.c [media] rc/ir-lirc-codec: add back debug spew 2011-01-31 12:19:42 -02:00
ir-nec-decoder.c [media] rc: interim support for 32-bit NEC-ish scancodes 2011-03-22 19:24:23 -03:00
ir-raw.c [media] rc: fix ghost keypresses with certain hw 2011-07-01 16:33:01 -03:00
ir-rc5-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ir-rc5-sz-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ir-rc6-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ir-sony-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ite-cir.c media: rc: ite-cir: Initialise ite_dev::rdev earlier 2012-10-13 05:28:02 +09:00
ite-cir.h [media] ite-cir: 8709 needs to use pnp resource 2 2011-07-01 16:31:38 -03:00
Kconfig [media] fintek-cir: new driver for Fintek LPC SuperIO CIR function 2011-05-25 20:07:58 -03:00
lirc_dev.c [media] lirc_dev: store cdev in irctl, up maxdevs 2011-06-11 09:03:20 -03:00
Makefile [media] fintek-cir: new driver for Fintek LPC SuperIO CIR function 2011-05-25 20:07:58 -03:00
mceusb.c [media] mceusb: increase default timeout to 100ms 2011-07-11 20:52:27 -03:00
nuvoton-cir.c media: rc: Postpone ISR registration 2012-05-21 09:40:01 -07:00
nuvoton-cir.h nuvoton-cir: simplify raw IR sample handling 2011-10-03 11:40:15 -07:00
rc-core-priv.h [media] rc-core: fix some leftovers from the renaming patches 2010-12-29 08:16:54 -02:00
rc-loopback.c [media] rc-core: add trailing silence in rc-loopback tx 2011-05-20 09:29:53 -03:00
rc-main.c media: Avoid sysfs oops when an rc_dev's raw device is absent 2012-10-02 09:47:52 -07:00
redrat3.c [media] redrat3: new rc-core IR transceiver device driver 2011-05-20 16:25:00 -03:00
streamzap.c [media] rc/streamzap: fix reporting response times 2011-01-31 12:22:13 -02:00
winbond-cir.c media: rc: Postpone ISR registration 2012-05-21 09:40:01 -07:00