summaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick
Commit message (Collapse)AuthorAgeFilesLines
* Input: sidewinder - fix memory leakJesper Juhl2006-05-291-5/+6
| | | | | | | | | | In sw_connect we leak 'buf' and 'idbuf' when we do not leave via one of the fail* labels. This was spotted by the coverity checker. Patch is compile tested only due to lack of hardware. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: gamecon - add SNES mouse supportRaphael Assenat2006-04-021-13/+70
| | | | | | | | | | | | SNES gamepads and mice share the same type of interface so they both can be connected to the parallel port using a simple interface. Adding mouse support to a gamepad driver may sound funny at first, but doing so in this case makes it possible to connect and SNES gamepads and mice at the same time, on the same port. Signed-off-by: Raphael Assenat <raph@raphnet.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: joysticks - semaphore to mutex conversionIngo Molnar2006-02-197-38/+43
| | | | | | | | | | | The conversion was generated via scripts, and the result was validated automatically via a script as well. Amijoy conversion was done by Arjan van de Ven. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: iforce - fix detection of USB devicesDmitry Torokhov2006-01-312-3/+2
| | | | | | | | Recent conversion to wait_event_interruptible_timeout() caused USB detection routine erroneously report timeouts for perfectly working devices. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: a3d - convert to dynamic input_dev allocationDmitry Torokhov2006-01-291-42/+46
| | | | | | | Also set .owner in driver structure so we'll have a link between module and driver in sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: tmdc - handle errors from input_register_device()Dmitry Torokhov2006-01-291-4/+11
| | | | | | | Also set .owner in driver structure so we'll have a link between module and driver in sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: turbografx - handle errors from input_register_device()Dmitry Torokhov2006-01-291-7/+13
| | | | | | | Also tgfx_remove shouldn't be marked __exit as it is also called from __init code. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: gamecon - handle errors from input_register_device()Dmitry Torokhov2006-01-291-6/+12
| | | | | | | Also gc_remove shouldn't be marked __exit as it is also called from __init code. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: gamecon - fix crash when accessing deviceDmitry Torokhov2006-01-291-149/+194
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: sidewinder - handle errors from input_register_device()Dmitry Torokhov2006-01-291-2/+6
| | | | | | | Also set .owner in driver structure so we'll have a link between module and driver in sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: sidewinder - fix an oopsZinx Verituse2006-01-291-1/+1
| | | | | | | Dynalloc conversion strikes again... Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: db9 - handle errors from input_register_device()Dmitry Torokhov2006-01-291-5/+10
| | | | | | | Also db9_remove shouldn't be marked __exit as it is also called from __init code. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: db9 - fix possible crash with Saturn gamepadsDmitry Torokhov2006-01-291-34/+36
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: grip - handle errors from input_register_device()Dmitry Torokhov2006-01-291-2/+6
| | | | | | | Also set .owner in driver structure so we'll have a link between module and driver in sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: grip - fix crash when accessing deviceDmitry Torokhov2006-01-291-0/+3
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: make needlessly global code staticAdrian Bunk2006-01-291-2/+2
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: iforce - do not return ENOMEM upon successful allocationAlexey Dobriyan2006-01-291-1/+1
| | | | | Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* [PATCH] m68k: namespace pollution fix (custom->amiga_custom)Al Viro2006-01-121-2/+2
| | | | | | | | | | in amigahw.h custom renamed to amiga_custom, in drivers with few instances the same replacement, in the rest - #define custom amiga_custom in driver itself Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Input: grip_mp - kill commented out codeDmitry Torokhov2006-01-101-9/+0
| | | | | | Kill leftovers of dynalloc conversion. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* [PATCH] USB: remove .owner field from struct usb_driverGreg Kroah-Hartman2006-01-041-1/+0
| | | | | | It is no longer needed, so let's remove it, saving a bit of memory. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* [PATCH] Input: warrior - fix HAT0Y axis setupDmitry Torokhov2005-12-301-1/+1
| | | | | | | | This patch fixes a typo introduced by conversion to dynamic input_dev allocation. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] fix missing includesTim Schmielau2005-10-3012-0/+12
| | | | | | | | | | | | | | | | | | | | | I recently picked up my older work to remove unnecessary #includes of sched.h, starting from a patch by Dave Jones to not include sched.h from module.h. This reduces the number of indirect includes of sched.h by ~300. Another ~400 pointless direct includes can be removed after this disentangling (patch to follow later). However, quite a few indirect includes need to be fixed up for this. In order to feed the patches through -mm with as little disturbance as possible, I've split out the fixes I accumulated up to now (complete for i386 and x86_64, more archs to follow later) and post them before the real patch. This way this large part of the patch is kept simple with only adding #includes, and all hunks are independent of each other. So if any hunk rejects or gets in the way of other patches, just drop it. My scripts will pick it up again in the next round. Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] drivers/input/joystick: convert to dynamic input_dev allocationDmitry Torokhov2005-10-2825-1230/+1460
| | | | | | | | | Input: convert drivers/input/joystick to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Manual merge with LinusDmitry Torokhov2005-09-0914-14/+14
|\
| * [PATCH] input: convert kcalloc to kzallocPekka Enberg2005-09-0714-14/+14
| | | | | | | | | | | | | | | | | | This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | Input: iforce - use wait_event_interruptible_timeoutVojtech Pavlik2005-09-052-25/+8
|/ | | | | | | | | | The timeout while() loops in iforce-packets.c lack a set_current_state(TASK_INTERRUPTIBLE); call. The right solution is to replace them with wait_event_interruptible_timeout(). Reported-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* [PATCH] Amiga joystick: Fix typo introduced by the open/close race fixesGeert Uytterhoeven2005-07-131-1/+1
| | | | | Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] x86: i8253/i8259A lock cleanupIngo Molnar2005-06-301-1/+3
| | | | | | | | Introduce proper declarations for i8253_lock and i8259A_lock. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Input: Add a new I-Force device to the iforce driver.Marian-Nicolae V. Ion2005-05-292-0/+2
| | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: fix open/close races in joystick drivers - add a semaphoreDmitry Torokhov2005-05-294-23/+61
| | | | | | to the ones that register more than one input device. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: whitespace fixes in driver/input/joystickDmitry Torokhov2005-05-299-23/+23
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* [PATCH] drivers/input/joystick/spaceorb.c: fix an array overflowAdrian Bunk2005-05-011-1/+1
| | | | | | | | This patch fixes an array overflow found by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-1632-0/+11225
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
OpenPOWER on IntegriCloud