linux/drivers/input/misc
Dmitry Torokhov 104a5f3cad Input: max8925_onkey - avoid accessing input device too early
Input device must be allocated (but not necessarily registered) before
requesting IRQs, otherwise there is a chance that IRQ handler fires and
tries to reference not yet allocated input device.

Also it makes sense to store relative IRQ numbers in max8925_onkey_info
structure as they are needed in suspend/resume which we expect to be
called more often than probe and remove.

Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2012-03-06 11:03:30 -08:00
..
88pm860x_onkey.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
ab8500-ponkey.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
ad714x-i2c.c Merge commit 'v3.1-rc4' into next 2011-09-07 14:18:36 -07:00
ad714x-spi.c Input: ad714x - read the interrupt status registers in a row 2011-08-22 09:59:26 -07:00
ad714x.c drivers/input: Add module.h to modular drivers implicitly using it 2011-10-31 19:31:16 -04:00
ad714x.h Input: ad714x - read the interrupt status registers in a row 2011-08-22 09:59:26 -07:00
adxl34x-i2c.c Input: adxl34x-i2c - convert to dev_pm_ops 2011-02-21 01:02:31 -08:00
adxl34x-spi.c Input: remove redundant spi driver bus initialization 2011-11-29 01:51:52 -08:00
adxl34x.c Merge commit 'v3.2-rc3' into next 2011-11-29 01:51:07 -08:00
adxl34x.h Input: adxl34 - make enable/disable separate from suspend/resume 2010-07-03 13:13:21 -07:00
apanel.c Input: make i2c device ids constant 2010-01-09 23:28:33 -08:00
ati_remote2.c Merge commit 'v3.2-rc3' into next 2011-11-29 01:51:07 -08:00
atlas_btns.c Input: atlas_btns - switch to using pr_err() and friends 2010-07-13 09:43:24 -07:00
bfin_rotary.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
bma150.c Input: add driver for Bosch Sensortec's BMA150 accelerometer 2011-08-09 01:33:04 -07:00
cm109.c Input: cm109 - fix checking return value of usb_control_msg 2011-08-26 23:20:30 -07:00
cma3000_d0x_i2c.c Input: cma3000_d0x_i2c - add MODULE_DEVICE_TABLE 2010-12-07 22:13:40 -08:00
cma3000_d0x.c drivers/input: Add module.h to modular drivers implicitly using it 2011-10-31 19:31:16 -04:00
cma3000_d0x.h Input: add CMA3000 accelerometer driver 2010-11-30 23:05:21 -08:00
cobalt_btns.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
da9052_onkey.c Input: add support for OnKey module for DA9052/53 PMIC 2012-03-04 08:45:14 -08:00
dm355evm_keys.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
gp2ap002a00f.c Input: add driver for Sharp gp2ap002a00f proximity sensor 2011-12-12 00:03:36 -08:00
gpio_tilt_polled.c Input: add generic GPIO-tilt driver 2011-11-30 23:41:16 -08:00
hp_sdc_rtc.c Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:49:54 -07:00
ixp4xx-beeper.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
Kconfig Input: add support for OnKey module for DA9052/53 PMIC 2012-03-04 08:45:14 -08:00
keyspan_remote.c Fix common misspellings 2011-03-31 11:26:23 -03:00
kxtj9.c Input: kxtj9 - explicitly include module.h 2011-07-30 12:03:32 -07:00
m68kspkr.c
Makefile Input: add support for OnKey module for DA9052/53 PMIC 2012-03-04 08:45:14 -08:00
max8925_onkey.c Input: max8925_onkey - avoid accessing input device too early 2012-03-06 11:03:30 -08:00
mc13783-pwrbutton.c Input: mc13783-pwrbutton - convert to use module_platform_driver() 2011-12-12 00:02:51 -08:00
mma8450.c Input: mma8450 - silence some 'uninitialized variable' warnings 2011-10-06 19:41:57 -07:00
mpu3050.c Input: mpu3050 - configure the sampling method 2011-12-24 01:06:19 -08:00
pcap_keys.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
pcf8574_keypad.c Input: pcf_keypad - convert to dev_op_ops 2010-11-11 22:02:57 -08:00
pcf50633-input.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
pcspkr.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
pm8xxx-vibrator.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
pmic8xxx-pwrkey.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
powermate.c Input: return -ENOMEM in select drivers when memory allocation fails 2010-10-13 07:49:23 -07:00
pwm-beeper.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
rb532_button.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
rotary_encoder.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
sgi_btns.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
sparcspkr.c dt/sparc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
twl4030-pwrbutton.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
twl4030-vibra.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
twl6040-vibra.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
uinput.c Input: uinput - allow for 0/0 min/max on absolute axes. 2011-03-31 00:02:39 -07:00
wistron_btns.c Fix common misspellings 2011-03-31 11:26:23 -03:00
wm831x-on.c Input: misc - use macro module_platform_driver() 2011-11-30 23:41:42 -08:00
xen-kbdfront.c Input: xen-kbdfront - enable driver for HVM guests 2011-07-04 19:31:19 -07:00
yealink.c USB: rename usb_buffer_alloc() and usb_buffer_free() users 2010-05-20 13:21:38 -07:00
yealink.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00