aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
AgeCommit message (Collapse)AuthorFilesLines
2008-08-04maple: allow removal and reinsertion of keyboard driver moduleAdrian McMenamin1-43/+81
Allow the removal (and subsequent reinsertion) of the maple_keyb (maple keyboard) driver by adding a working removal function. Also tidy long lines. Signed-off-by: Adrian McMenamin <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Paul Mundt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-07-31Input: xpad - add Pelican Eclipse D-Pad to the list of devicesHarley Laue1-0/+1
Signed-off-by: Harley Laue <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-30Input: gpio-keys - make gpio_keys_device_driver staticUwe Kleine-König1-1/+1
This fixes the sparse warning symbol 'gpio_keys_device_driver' was not declared. Should it be static? Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-30Input: gpio-keys - fix possible NULL pointer dereferenceUwe Kleine-König1-0/+1
bdata->button is used in gpio_check_button but never initialized. Having a device with debounce_interval != 0 without this patch resulted on an oops on my machine. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-30Input: ati_remote2 - add autosuspend supportVille Syrjala1-6/+127
Signed-off-by: Ville Syrjala <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-30Input: ati_remote2 - add loadable keymap supportVille Syrjala1-29/+101
Support for loadable keymaps. The driver now supports individual keymaps for each of the five modes (AUX1-AUX4 and PC) of the remote. To achieve this the keymap scancode is interpreted as a combination of the mode and actual button scancode. The original keycode patches were done by Peter Stokes <[email protected]> but I modified it quite a lot. Signed-off-by: Ville Syrjala <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-30Input: gameport - check return value of gameport_register_driver()Dmitry Torokhov12-25/+12
Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-30Input: gameport - make gameport_register_driver() return errorsDmitry Torokhov1-21/+67
Perform actual driver registration right in gameport_register_driver() instead of offloading it to kgameportd and return proper error code to callers if driver registration fails. Note that driver <-> port matching is still done by kgameportd. Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-29sh: More header path fixups for mach dir refactoring.Paul Mundt1-1/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-07-29Input: wm97xx - enable sub-drivers by defaultMark Brown1-12/+9
Currently the support for each WM97xx touchscreen model is compiled out by default, meaning that the default configuration when the driver is built is for it to support no hardware. This is suboptimal and leads to problems like distribution kernels shipping a non-functional driver. Change the default to support all controllers and update the help text to reflect this. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-28Merge branch 'for-linus' of ↵Linus Torvalds6-28/+389
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: add driver for Atmel integrated touchscreen controller Input: ads7846 - optimize order of calculating Rt in ads7846_rx() Input: ads7846 - fix sparse endian warnings Input: uinput - remove duplicate include Input: serio - offload resume to kseriod Input: serio - mark serio_register_driver() __must_check
2008-07-28sh_keysc: remove request_mem_region() and release_mem_region()Tetsuya Mukawa1-20/+7
Remove request_mem_region() and release_mem_region() from sh_keysc driver. Those functions can find resource conflict, but it is already checked in platform_device_add(). Signed-off-by: Tetsuya Mukawa <[email protected]> Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Dmitry Torokhov <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-07-27[ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_*Dmitry Baryshkov2-5/+5
IRQT_* and __IRQT_* were obsoleted long ago by patch [3692/1]. Remove them completely. Sed script for the reference: s/__IRQT_RISEDGE/IRQ_TYPE_EDGE_RISING/g s/__IRQT_FALEDGE/IRQ_TYPE_EDGE_FALLING/g s/__IRQT_LOWLVL/IRQ_TYPE_LEVEL_LOW/g s/__IRQT_HIGHLVL/IRQ_TYPE_LEVEL_HIGH/g s/IRQT_RISING/IRQ_TYPE_EDGE_RISING/g s/IRQT_FALLING/IRQ_TYPE_EDGE_FALLING/g s/IRQT_BOTHEDGE/IRQ_TYPE_EDGE_BOTH/g s/IRQT_LOW/IRQ_TYPE_LEVEL_LOW/g s/IRQT_HIGH/IRQ_TYPE_LEVEL_HIGH/g s/IRQT_PROBE/IRQ_TYPE_PROBE/g s/IRQT_NOEDGE/IRQ_TYPE_NONE/g Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Russell King <[email protected]>
2008-07-25Undo duplicate "m68k: drivers/input/serio/hp_sdc.c needs <linux/semaphore.h>"Linus Torvalds1-1/+0
Both commits 0f17e4c796e89d1f69f13b653aba60e6ccfb8ae0 ("Add missing semaphore.h includes") and 4933d07531711e399d8d578036aa9fc1be2f9b20 ("m68k: drivers/input/serio/hp_sdc.c needs <linux/semaphore.h>") added a We only really need one ;) Reported-by: Huang Weiyi <[email protected]> Requested-by: Dmitry Torokhov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-24Add missing semaphore.h includesMatthew Wilcox3-0/+3
These files use semaphores but don't include semaphore.h Signed-off-by: Matthew Wilcox <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]>
2008-07-23Input: add driver for Atmel integrated touchscreen controllerDan Liang3-0/+345
The AT91SAM9RL SoC integrates a Touchscreen Controller which can trigger ADC conversion periodically. Signed-off-by: Justin Waters <[email protected]> Signed-off-by: Dan Liang <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-23Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-armLinus Torvalds1-2/+0
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (85 commits) [ARM] pxa: add base support for PXA930 Handheld Platform (aka SAAR) [ARM] pxa: add base support for PXA930 Evaluation Board (aka TavorEVB) [ARM] pxa: add base support for PXA930 (aka Tavor-P) [ARM] Update mach-types [ARM] pxa: make littleton to use the new smc91x platform data [ARM] pxa: make zylonite to use the new smc91x platform data [ARM] pxa: make mainstone to use the new smc91x platform data [ARM] pxa: make lubbock to use new smc91x platform data [NET] smc91x: prepare SMC_USE_PXA_DMA to be specified in platform data [NET] smc91x: prepare for SMC_IO_SHIFT to be a platform configurable variable [NET] smc91x: add SMC91X_NOWAIT flag to platform data [NET] smc91x: favor the use of SMC91X_USE_* instead of SMC_CAN_USE_* [NET] smc91x: remove "irq_flags" from "struct smc91x_platdata" [ARM] 5146/1: pxa2xx: convert all boards to call pxa2xx_transceiver_mode helper Support for LCD on e740 e750 e400 and e800 e-series PDAs E-series UDC support PXA UDC - allow use of inverted GPIO for pullup Add e350 support Fix broken e-series build E-series GPIO / IRQ definitions. ...
2008-07-23Input: ads7846 - optimize order of calculating Rt in ads7846_rx()Hans-Christian Egtvedt1-5/+5
Alter the if expression for calculating Rt. The old implementation would run unnecessary code when the ADS7843 device was used. The patch also fixes the code style to kernel standard. Signed-off-by: Hans-Christian Egtvedt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-23Input: ads7846 - fix sparse endian warningsHarvey Harrison1-4/+2
Also remove the temporary pointer and use ->rx_buf directly. Signed-off-by: Harvey Harrison <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-23Input: uinput - remove duplicate includeHuang Weiyi1-1/+0
Remove duplicate include file <linux/smp_lock.h> in drivers/input/misc/uinput.c. Signed-off-by: Huang Weiyi <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-23Input: serio - offload resume to kseriodShaohua Li1-18/+37
When resuming AUX ports psmouse driver calls psmouse_extensions() to determine if the attached mouse is still the same, which may take a while to complete for generic mice. Offload the resume process to kseriod so the rest of the system may continue resuming without waiting for the mouse. Signed-off-by: Shaohua Li <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-21Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into nextDmitry Torokhov18-23/+86
2008-07-20m68k: Return -ENODEV if no device is foundGeert Uytterhoeven1-1/+1
According to the tests in do_initcalls(), the proper error code in case no device is found is -ENODEV, not -ENXIO or -EIO. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-20tty: Ldisc revampAlan Cox1-1/+1
Move the line disciplines towards a conventional ->ops arrangement. For the moment the actual 'tty_ldisc' struct in the tty is kept as part of the tty struct but this can then be changed if it turns out that when it all settles down we want to refcount ldiscs separately to the tty. Pull the ldisc code out of /proc and put it with our ldisc code. Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-19Input: i8042 - add Arima-Rioworks HDAMB board to noloop listDmitry Torokhov1-0/+9
The board does not raise AUX IRQ in response to AUX LOOP command. Reported-by: Guillaume Morin <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-19Input: sgi_btns - add support for SGI Indy volume buttonsThomas Bogendoerfer3-32/+54
Also rename sgio2_btns to sgi_btns since the driver is not only for SGI O2 anymore. Signed-off-by: Thomas Bogendoerfer <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-19Input: add option to disable HP SDC driverHelge Deller1-0/+9
Add "no_hpsdc" kernel module option to the hp_sdc driver, so that the driver can be instructed to not enable the HP SDC port. This is useful on some older HPPA boxes with HIL keyboard and HIL mouse where the new HP SDC HIL drivers don't work yet. By disabling the new hp_sdc driver users are able to use the older hilkbd driver instead. Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-14Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6Linus Torvalds5-7/+32
* 'bkl-removal' of git://git.lwn.net/linux-2.6: (146 commits) IB/umad: BKL is not needed for ib_umad_open() IB/uverbs: BKL is not needed for ib_uverbs_open() bf561-coreb: BKL unneeded for open() Call fasync() functions without the BKL snd/PCM: fasync BKL pushdown ipmi: fasync BKL pushdown ecryptfs: fasync BKL pushdown Bluetooth VHCI: fasync BKL pushdown tty_io: fasync BKL pushdown tun: fasync BKL pushdown i2o: fasync BKL pushdown mpt: fasync BKL pushdown Remove BKL from remote_llseek v2 Make FAT users happier by not deadlocking x86-mce: BKL pushdown vmwatchdog: BKL pushdown vmcp: BKL pushdown via-pmu: BKL pushdown uml-random: BKL pushdown uml-mmapper: BKL pushdown ...
2008-07-14Merge commit 'v2.6.26' into bkl-removalJonathan Corbet17-67/+173
2008-07-13Merge branch 'pxa' into develRussell King1-2/+0
Conflicts: arch/arm/configs/em_x270_defconfig arch/arm/configs/xm_x270_defconfig
2008-07-12Merge branch 'pxa-tosa' into pxaRussell King1-2/+0
Conflicts: arch/arm/mach-pxa/Kconfig arch/arm/mach-pxa/tosa.c arch/arm/mach-pxa/spitz.c
2008-07-08Merge branches 'x86/numa-fixes', 'x86/apic', 'x86/apm', 'x86/bitops', ↵Ingo Molnar18-68/+192
'x86/build', 'x86/cleanups', 'x86/cpa', 'x86/cpu', 'x86/defconfig', 'x86/gart', 'x86/i8259', 'x86/intel', 'x86/irqstats', 'x86/kconfig', 'x86/ldt', 'x86/mce', 'x86/memtest', 'x86/pat', 'x86/ptemask', 'x86/resumetrace', 'x86/threadinfo', 'x86/timers', 'x86/vdso' and 'x86/xen' into x86/devel
2008-07-07Input: add new serio driver for Xilinx XPS PS2 IPJohn Linn3-0/+391
Added a new driver for Xilinx XPS PS2 IP. This driver is a flat driver to better match the Linux driver pattern. Signed-off-by: Sadanand <[email protected]> Signed-off-by: John Linn <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-07Input: add driver for Tabletkiosk Sahara TouchIT-213 touchscreenClaudio Nieder3-0/+246
Signed-off-by: Claudio Nieder <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-07Input: new driver for SGI O2 volume buttonsThomas Bogendoerfer3-0/+167
This driver adds support for the volume buttons on the front of every SGI O2 workstation. Signed-off-by: Thomas Bogendoerfer <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-07Input: yealink - reliably kill urbsOliver Neukum1-15/+29
Yealink uses two URBs that submit each other. This arrangement cannot be reliably killed with usb_kill_urb() alone, as there's a window during which the wrong URB may be killed. The fix is to introduce a flag. [[email protected]: remove spinlock, flag alone should be enough] Signed-off-by: Oliver Neukum <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-07Input: q40kbd - make q40kbd_lock staticAdrian Bunk1-1/+1
This patch makes the needlessly global q40kbd_lock static. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-07Input: gtco - eliminate early returnJulia Lawall1-1/+1
There seems to be no reason why this error case should do less cleaning up than the other adjacent ones, so the goto, which is currently dead code, seems to be what is intended. Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-07Input: i8042 - add Dritek quirk for Acer Aspire 5720Carlos Corbacho1-0/+7
The Acer Aspire 5720 series also requires the Dritek quirk to enable the extra scancodes. Signed-off-by: Carlos Corbacho <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-07[ARM] 5064/1: pxa: explicitly specify tosa keyboard GPIOs' low power states ↵eric miao1-2/+0
to DRIVE_LOW Signed-off-by: Eric Miao <[email protected]> Acked-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Russell King <[email protected]>
2008-07-03Input: usbtouchscreen - ignore eGalax screens supporting HID protocolDaniel Ritz1-1/+19
The newer versions of the eGalax/EETI screen implement the HID protocol. The device IDs are still the same, but the USB interface descriptor shows the device being of HID class. Change usbtouchscreen to ignore the HID models as they are handled properly by usbhid. Signed-off-by: Daniel Ritz <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-03Input: i8042 - add Medion NAM 2070 to noloop blacklistDmitry Torokhov1-0/+8
AUX LOOP command fails with a timeout although this laptop has a touchpad. Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-03Input: i8042 - add Gericom Bellagio to nomux blacklistJiri Kosina1-0/+7
Gericom Bellagio needs to be added to nomux blacklist, otherwise its touchpad misbehaves. Reported-by: Roland Kletzing <[email protected]> Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-03Input: i8042 - add Acer Aspire 1360 to nomux blacklistJiri Kosina1-0/+7
Acer Aspire 1360 needs to be added to nomux blacklist, otherwise its touchpad misbehaves. Reported-by: Clark Tompsett <[email protected]> Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-07-02drivers/input/ff-core.c needs <linux/sched.h>Geert Uytterhoeven1-0/+1
Commit 656acd2bbc4ce7f224de499ee255698701396c48 ("Input: fix locking in force-feedback core") causes the following regression on m68k: | linux/drivers/input/ff-core.c: In function 'input_ff_upload': | linux/drivers/input/ff-core.c:172: error: dereferencing pointer to incomplete type | linux/drivers/input/ff-core.c: In function 'erase_effect': | linux/drivers/input/ff-core.c:197: error: dereferencing pointer to incomplete type | linux/drivers/input/ff-core.c:204: error: dereferencing pointer to incomplete type | make[4]: *** [drivers/input/ff-core.o] Error 1 As the incomplete type is `struct task_struct', including <linux/sched.h> fixes it. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-02uinput: BKL pushdownArnd Bergmann1-0/+3
Signed-off-by: Arnd Bergmann <[email protected]>
2008-07-02serio: BKL pushdownArnd Bergmann1-1/+5
Signed-off-by: Arnd Bergmann <[email protected]>
2008-07-02mousedev: BKL pushdownArnd Bergmann1-2/+10
Signed-off-by: Arnd Bergmann <[email protected]>
2008-06-30Merge branch 'for-linus' of ↵Linus Torvalds1-6/+11
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: fix locking in force-feedback core Input: add KEY_MEDIA_REPEAT definition
2008-06-30Input: hp_sdc_mlc.c - make a struct staticAdrian Bunk1-1/+1
This patch makes the needlessly global struct hp_sdc_mlc_priv_s static. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>