]> git.ipfire.org Git - people/ms/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:06:56 +0000 (09:06 -0800)
commitc815c83dfd1aef11d4197dc46b21a2471b81af2c
tree2a27444c361e8a40a3b4828091b9cbb289e242dd
parent042cf2fb1d2ac4b4b27b2ccc4ac317a2f53df3c3
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