aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
AgeCommit message (Collapse)AuthorFilesLines
2005-11-07[PATCH] kfree cleanup: misc remaining driversJesper Juhl1-7/+3
This is the remaining misc drivers/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in misc files in drivers/. Signed-off-by: Jesper Juhl <[email protected]> Acked-by: Aristeu Sergio Rozanski Filho <[email protected]> Acked-by: Roland Dreier <[email protected]> Acked-by: Pierre Ossman <[email protected]> Acked-by: Jean Delvare <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Len Brown <[email protected]> Acked-by: "Antonino A. Daplas" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-11-02Input: lkkbd - miscellaneous fixesJan-Benedict Glaw1-42/+59
* Hide debugging code into #ifdef, which allows to simplify the large switch statement * Update macros to not reference variables not given as arguments Signed-off-by: Jan-Benedict Glaw <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-02Input: logips2pp - add support for MX3100Mirco Macrelli1-0/+3
Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-02Input: locomokbd - fix wrong bustypePavel Machek1-1/+1
Signed-off-by: Pavel Machek <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-02Input: fix input device deregistrationDmitry Torokhov1-0/+1
Remove main attribute group (name, phys, uniq) when unregistering input devices. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-02Input: do not register statically allocated devicesDmitry Torokhov1-11/+15
Do not register statically allocated input devices to prevent OOPS when attaching input interfaces since it requires class device to be properly initialized. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-02Input: locomokbd - convert to dynamic input allocationDmitry Torokhov1-32/+31
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-10-31[PATCH] i386: CONFIG_PC removalArthur Othieno2-3/+3
CONFIG_PC is left-over cruft after the introduction of CONFIG_X86_PC with the subarch split. Remove it, and fixup the remaining users to depend on CONFIG_X86_PC instead. Signed-off-by: Arthur Othieno <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-31Merge master.kernel.org:/home/rmk/linux-2.6-drvmodelLinus Torvalds8-4/+8
Manual #include fixups for clashes - there may be some unnecessary
2005-10-31Input: lkkbd - fix debug message in lkkbd_interrupt()Dmitry Torokhov1-1/+1
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-10-31Input: pcspkr - fix setting name and phys for the deviceDmitry Torokhov1-1/+1
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-10-31Input: fix input_dev registration messageDmitry Torokhov1-1/+1
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-10-31Input: evdev - allow querying SW state from compat ioctlDmitry Torokhov1-0/+3
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-10-31Input: evdev - allow querying EV_SW bits from compat_ioctlDmitry Torokhov1-0/+1
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-10-30[PATCH] fix missing includesTim Schmielau14-0/+14
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-30[PATCH] CONFIG_IA32Brian Gerst1-1/+1
Add CONFIG_X86_32 for i386. This allows selecting options that only apply to 32-bit systems. (X86 && !X86_64) becomes X86_32 (X86 || X86_64) becomes X86 Signed-off-by: Brian Gerst <[email protected]> Cc: Sam Ravnborg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-29Create platform_device.h to contain all the platform device details.Russell King8-4/+8
Convert everyone who uses platform_bus_type to include linux/platform_device.h. Signed-off-by: Russell King <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]>
2005-10-29[PATCH] amikbd fixAl Viro1-1/+1
it's input_allocate_device(), not input_dev_allocate()... Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-29[PATCH] missing bits in sparkspkr conversionAl Viro1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6Linus Torvalds65-2644/+2984
2005-10-28[PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacksRussell King4-62/+51
In PM v1, all devices were called at SUSPEND_DISABLE level. Then all devices were called at SUSPEND_SAVE_STATE level, and finally SUSPEND_POWER_DOWN level. However, with PM v2, to maintain compatibility for platform devices, I arranged for the PM v2 suspend/resume callbacks to call the old PM v1 suspend/resume callbacks three times with each level in order so that existing drivers continued to work. Since this is obsolete infrastructure which is no longer necessary, we can remove it. Here's an (untested) patch to do exactly that. Signed-off-by: Russell King <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] input core: remove custom-made hotplug handlerDmitry Torokhov1-145/+104
Input: remove custom-made hotplug handler Now that all input devices are registered with sysfs we can remove old custom-made hotplug handler and crate a standard one. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] INPUT: Create symlinks for backwards compatibilityGreg Kroah-Hartman4-8/+32
This creates symlinks in /sys/class/input/ to the nested class devices to help userspace cope with the nesting. Unfortunatly udev still needs to be updated as it can't handle symlinks properly here :( Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] INPUT: rename input_dev_class to input_class to be correct.Greg Kroah-Hartman5-17/+17
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] INPUT: remove the input_class structure, as it is unused.Greg Kroah-Hartman1-15/+3
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] INPUT: Fix oops when accessing sysfs files of nested input devicesGreg Kroah-Hartman1-7/+12
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] INPUT: move the input class devices under their new input_dev devicesGreg Kroah-Hartman4-14/+14
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] INPUT: export input_dev_class so that input drivers can use it.Greg Kroah-Hartman1-1/+2
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] INPUT: register the input class device soonerGreg Kroah-Hartman1-3/+3
This is needed so we can actually use the class device within the input handlers. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] Input: export input_dev data via sysfs attributesDmitry Torokhov1-23/+133
Input: export various input device attributes via sysfs The following structure is exported: input0/ |-- name |-- phys |-- uniq |-- id/{bustype|vendor|product|version} `-- capabilities/{ev|abs|rel|key|led|msc|ff|sw} Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] Input: show sysfs path in /proc/bus/input/devicesDmitry Torokhov1-0/+6
Input: show sysfs path in /proc/bus/input/devices Show that sysfs and phys path are different objects. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] drivers/input/joystick: convert to dynamic input_dev allocationDmitry Torokhov25-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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] Input: convert driver/input/misc to dynamic input_dev allocationDmitry Torokhov3-57/+56
Input: convert driver/input/misc to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] drivers/input/touchscreen: convert to dynamic input_dev allocationDmitry Torokhov7-308/+279
Input: convert drivers/input/touchscreen to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] drivers/input/keyboard: convert to dynamic input_dev allocationDmitry Torokhov9-431/+449
Input: convert drivers/input/keyboard to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] drivers/input/mouse: convert to dynamic input_dev allocationDmitry Torokhov15-361/+363
Input: convert drivers/input/mouse to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] Input: prepare to sysfs integrationDmitry Torokhov1-5/+72
Input: prepare to sysfs integration Add struct class_device to input_dev; add input_allocate_dev() to dynamically allocate input devices; dynamically allocated devices are automatically registered with sysfs. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] Input: kill devfs referencesDmitry Torokhov5-30/+1
Input: remove references to devfs from input subsystem Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-28[PATCH] Driver Core: fix up all callers of class_device_create()Greg Kroah-Hartman4-5/+5
The previous patch adding the ability to nest struct class_device changed the paramaters to the call class_device_create(). This patch fixes up all in-kernel users of the function. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-10-21[PARISC] Update parisc specific input code from parisc treeMatthew Wilcox5-31/+59
Update drivers to new input layer changes. Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Matthew Wilcox <[email protected]> Reorder code in gscps2_interrupt() and only enable ports when opened. This fixes issues with hangs booting an SMP kernel on my C360. Previously serio_interrupt() could be called before the lock in struct serio was initialised. Signed-off-by: Richard Hirst <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2005-10-21[PARISC] Convert parisc_device to use struct resource for hpaMatthew Wilcox3-6/+6
Convert pa_dev->hpa from an unsigned long to a struct resource. Signed-off-by: Matthew Wilcox <[email protected]> Fix up users of ->hpa to use ->hpa.start instead. Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2005-10-21[PARISC] Change the driver names so /sys/bus/parisc/drivers/ looks betterMatthew Wilcox3-3/+3
Make /sys/bus/parisc/drivers look better by cleaning up parisc_driver names. Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2005-10-17[PATCH] uniput - fix crash on SMPDmitry Torokhov1-2/+2
Only signal completion after marking request slot as free, otherwise other processor can free request structure before we finish using it. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-14Merge master.kernel.org:/home/rmk/linux-2.6-armLinus Torvalds1-1/+1
2005-10-14[PATCH] zaurus: fix dependencies on collie keyboardPavel Machek1-1/+1
This fixes depenencies of collie keyboard. Signed-off-by: Pavel Machek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-14[ARM] 3014/1: Spitz keyboard: Correct the right shift keyRichard Purdie1-1/+1
Patch from Richard Purdie Correct the right shift key entry in the spitz keyboard driver. Signed-off-by: Richard Purdie <[email protected]> Signed-off-by: Russell King <[email protected]>
2005-09-24[PATCH] Input: check switch bitmap when matching handlersDmitry Torokhov1-0/+1
The wwitch bitmap was added to input_device_id structure and we should check it when matching handlers and input devices. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-13[PATCH] SharpSL: Add an input keyboard driver for Zaurus cxx00 seriesRichard Purdie3-0/+490
Add a input driver for the keyboard found on the Zaurus Cxx00 series (Spitz, Akita, Borzoi). Its based on corgikbd but there are enough subtle differences to justify a separate driver. Signed-Off-by: Richard Purdie <[email protected]> Cc: Vojtech Pavlik <[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-13[PATCH] SharpSL: Abstract c7x0 specifics from Corgi Touchscreen driverRichard Purdie2-31/+45
Separate out the Sharp Zaurus c7x0 series specific code from the Corgi Touchscreen driver. Use the new functions in corgi_lcd.c via sharpsl.h for hsync handling and pass the IRQ as a platform device resource. Move a function prototype into the w100fb header file where it belongs. This enables the driver to be used by the Zaurus cxx00 series. Signed-Off-by: Richard Purdie <[email protected]> Cc: Vojtech Pavlik <[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-10Input: i8042 - use kzalloc instead of kcallocDmitry Torokhov1-3/+3
Signed-off-by: Dmitry Torokhov <[email protected]>