]> git.kernelconcepts.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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:42 +0000 (03:33 +0000)
commitc11a36f1636172d9f629065f94fb0ab282258ad9
treec307347978c008eef79108418da7ad49864184f5
parent6b8a46219d15d8bc8a72cfc3908ffb46991d3f4e
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: Ben Hutchings <ben@decadent.org.uk>
drivers/input/joystick/walkera0701.c