]> 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:18:39 +0000 (09:18 -0800)
commitdf433c41eb955760b92949c2d7a229ace30789db
treec7d1a62ad245bbed15dc186a0d29cc7c4cceffd1
parentdfde3c6d130f2e679024bd7b8692a4d00bac4ef8
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