linux/drivers/input
Sudip Mukherjee dd23bf1044 Input: db9 - store object at correct index
The variable i is used to check the port to attach to and we are
supposed to save the reference of struct db9 in the location given by
db9_base[i]. But after finding out the index, i is getting modified again
so we saved in a wrong index.
While at it mark db9_base[i] as NULL after it is freed.

Fixes: 2260c419b5 ("Input: db9 - use parallel port device model")
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-10-05 17:34:56 -07:00
..
gameport x86/asm/tsc: Rename native_read_tsc() to rdtsc() 2015-07-06 15:23:28 +02:00
joystick Input: db9 - store object at correct index 2015-10-05 17:34:56 -07:00
keyboard Input: goldfish - allow compile the driver with COMPILE_TEST 2015-10-02 11:44:16 -07:00
misc Input: kxtj9 - remove unneeded retval variable 2015-10-02 11:44:17 -07:00
mouse Merge branch 'next' into for-linus 2015-09-11 09:02:36 -07:00
serio Input: i8042 - lower log level for "no controller" message 2015-09-05 11:11:48 -07:00
tablet
touchscreen Input: add support for FocalTech FT6236 touchscreen controller 2015-10-02 11:44:20 -07:00
apm-power.c
evbug.c
evdev.c Input: evdev - do not report errors form flush() 2015-09-03 23:38:23 -07:00
ff-core.c Input: ff-core - silence an underflow warning 2015-09-29 16:09:36 -07:00
ff-memless.c [media] fixp-arith: replace sin/cos table by a better precision one 2015-03-02 14:50:06 -03:00
input-compat.c
input-compat.h
input-leds.c Input: LEDs - skip unnamed LEDs 2015-07-24 09:11:01 -07:00
input-mt.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2015-04-14 18:25:15 -07:00
input-polldev.c
input.c Input: do not emit unneeded EV_SYN when suspending 2015-08-07 14:55:38 -07:00
joydev.c Input: joydev - use memdup_user() to duplicate memory from user-space 2015-10-02 11:44:16 -07:00
Kconfig Input: export LEDs as class devices in sysfs 2015-06-11 18:18:11 -07:00
Makefile Input: export LEDs as class devices in sysfs 2015-06-11 18:18:11 -07:00
matrix-keymap.c
mousedev.c
sparse-keymap.c