summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-10-05 17:23:08 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-10-05 17:34:57 -0700
commitc65cf815653ec64e73d40819806c2d1aed91681e (patch)
tree2faaee571d3826d9a4e9bf8e51b0ba709981b4a8 /drivers/input/misc
parentc36906c53ccff0f43310fac9606976440a71c742 (diff)
downloadop-kernel-dev-c65cf815653ec64e73d40819806c2d1aed91681e.zip
op-kernel-dev-c65cf815653ec64e73d40819806c2d1aed91681e.tar.gz
Input: turbografx - store object in correct index
The variable i is used to check the port to attach to and we are supposed to save the reference of struct tgfx in the location given by tgfx_base[i]. But after finding out the index, i is getting modified again so we saved in a wrong index. Fixes: 4de27a638a99 ("Input: turbografx - use parallel port device model") Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud