summaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick/walkera0701.c
Commit message (Collapse)AuthorAgeFilesLines
* Input: walkera0701 - claim parport when opening the deviceDmitry Torokhov2013-01-211-10/+6
| | | | | | | Postpone claiming the port until the device is opened, instead of doing that when the driver is loaded. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: walkera0701 - use proper error codesDmitry Torokhov2013-01-211-20/+36
| | | | | | | We have been using -EBUSY where we should have used -EIO or -ENOMEM, so let's fix that and also add some diagnostic messages. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: walkera0701 - switch to using pr_xxx() for messagesDmitry Torokhov2013-01-211-13/+10
| | | | Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: walkera0701 - set up input device's parentDmitry Torokhov2013-01-211-0/+1
| | | | | | | | This will place the joystick's input device into propoer place in sysfs hierarchy as long as th port has device assigned to it (i.e. it is not legacy port). Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: walkera0701 - fix crash on startupPeter Popovec2012-12-161-3/+4
| | | | | | | | | | 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> CC: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: add joystick driver for Walkera WK-0701 RC transmitterPeter Popovec2008-11-191-0/+292
Signed-off-by: Peter Popovec <popovec@fei.tuke.sk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
OpenPOWER on IntegriCloud