]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: walkera0701 - fix crash on startup
authorPeter Popovec <popovec@oko.fei.tuke.sk>
Sat, 15 Dec 2012 06:57:25 +0000 (22:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:03:38 +0000 (09:03 -0800)
commitada84ad6dd091c7ee6ce70a01fd5dc214eb1d96d
tree512f9d929abe91e42ba900de7f8f61c7de6f993d
parent31c4e8cd42eb2f6aedccd13670e113d2ca1db39e
Input: walkera0701 - fix crash on startup

commit a455e2985f57e2a71566bb8850094af38b2c932d upstream.

The driver's timer must be set up before enabling IRQ handler, otherwise
bad things may happen.

Reported-and-tested-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Peter Popovec <popovec@fei.tuke.sk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/joystick/walkera0701.c