11 Apr, 2007
1 commit
-
The UCB1400 is missing a name parameter in the device_driver struct.
This causes missing information in the /sys tree and seems to cause
other problems with the AC97 functionality. This was tested on a PXA270
system.Signed-off-by: Cliff Brake
Signed-off-by: Dmitry Torokhov
Signed-off-by: Linus Torvalds
08 Mar, 2007
2 commits
-
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input:
Input: i8042 - another attempt to fix AUX delivery checks -
Do not assume that AUX_LOOP command is broken unless it
completes successfully but returns wrong (unexpected) data.Signed-off-by: Dmitry Torokhov
05 Mar, 2007
2 commits
-
The gpio_keys driver is wrongly ARM-specific; it can't build on
other platforms with GPIO suport. This fixes that problem.Signed-off-by: David Brownell
Cc: Dmitry Torokhov
Cc: pHilipp Zabel
Cc: Haavard Skinnemoen
Cc: Russell King
Cc: Richard Purdie
Cc: Ben Nizette
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Most drivers using GPIOs already know they are running on a system that
supports the generic GPIO calls, because of other platform dependencies.
But the generic GPIO-based LED and input button drivers can't know that.So this patch adds a Kconfig hook, GENERIC_GPIO, to mark the platforms
where will do the right thing. Currently that's a bunch of
ARMs, and AVR32; more are on the way.It also fixes a dependency bug for the gpio button input driver; it was
wrong to start with, now it covers all platforms with GENERIC_GPIO.Signed-off-by: David Brownell
Acked-by: Richard Purdie
Cc: Arnaud Patard
Cc:
Cc:
Cc: pHilipp Zabel
Cc: Haavard Skinnemoen
Cc: Dmitry Torokhov
Cc: Russell King
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Feb, 2007
1 commit
-
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input:
Input: remove obsolete setup parameters from input drivers
Input: HIL - fix improper call to release_region()
Input: hid-lgff - treat devices as joysticks unless told otherwise
Input: HID - add support for Logitech Formula Force EX
Input: gpio-keys - switch to common GPIO API
Input: do not lock device when showing name, phys and uniq
Input: i8042 - let serio bus suspend ports
Input: psmouse - properly reset mouse on shutdown/suspend
18 Feb, 2007
7 commits
-
They have been marked as __obsolete_setup() for several years,
it is time for them to go.Signed-off-by: Dmitry Torokhov
-
Do not call release_region() if the code has been compiled
without CONFIG_HP300 support.Signed-off-by: Cyrill V. Gorcunov
Acked-by: Helge Deller
Signed-off-by: Dmitry Torokhov -
This adds support for at least SA1100 and S3C24xx CPUs.
Signed-off-by: Philipp Zabel
Signed-off-by: Dmitry Torokhov -
Now that sysfs attributes return -ENODEV once driver requests their
removal we do not need to handle scenario when data is deleted from
under our feet and can simplify the code.Signed-off-by: Dmitry Torokhov
-
Let serio subsystem take care of suspending the ports; concentrate
on suspending/resuming the controller itself.Signed-off-by: Dmitry Torokhov
-
Some people report that they need psmouse module unloaded
for suspend to ram/disk to work properly. Let's make port
cleanup behave the same way as driver unload.This fixes "bad state" roblem on various HP laptops, such
as nx7400.Signed-off-by: Dmitry Torokhov
-
The C99 specification states in section 6.11.5:
The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is an
obsolescent feature.Signed-off-by: Tobias Klauser
Signed-off-by: Adrian Bunk
17 Feb, 2007
1 commit
-
- hrtimers did not use the hrtimer_restart enum and relied on the implict
int representation. Fix the prototypes and the functions using the enums.
- Use seperate name spaces for the enumerations
- Convert hrtimer_restart macro to inline function
- Add commentsNo functional changes.
[akpm@osdl.org: fix input driver]
Signed-off-by: Thomas Gleixner
Signed-off-by: Ingo Molnar
Cc: john stultz
Cc: Roman Zippel
Cc: Dmitry Torokhov
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
15 Feb, 2007
2 commits
-
The obsolete SA_xxx interrupt flags have been used despite the scheduled
removal. Fixup the remaining users in -mm.Signed-off-by: Thomas Gleixner
Acked-by: Ingo Molnar
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
After Al Viro (finally) succeeded in removing the sched.h #include in module.h
recently, it makes sense again to remove other superfluous sched.h includes.
There are quite a lot of files which include it but don't actually need
anything defined in there. Presumably these includes were once needed for
macros that used to live in sched.h, but moved to other header files in the
course of cleaning it up.To ease the pain, this time I did not fiddle with any header files and only
removed #includes from .c-files, which tend to cause less trouble.Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
configs in arch/arm/configs on arm. I also checked that no new warnings were
introduced by the patch (actually, some warnings are removed that were emitted
by unnecessarily included header files).Signed-off-by: Tim Schmielau
Acked-by: Russell King
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Feb, 2007
1 commit
-
Many struct file_operations in the kernel can be "const". Marking them const
moves these to the .rodata section, which avoids false sharing with potential
dirty data. In addition it'll catch accidental writes at compile time to
these shared resources.Signed-off-by: Arjan van de Ven
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
12 Feb, 2007
2 commits
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: remove scan_keyb driver
Input: i8042 - fix AUX IRQ delivery check
Input: wistron - add support for Fujitsu-Siemens Amilo D88x0
Input: inport - use correct config option for ATIXL
Input: HIL - handle erros from input_register_device()
Input: tsdev - schedule removal
Input: add Atlas button driver
Input: ads7846 - be more compatible with the hwmon framework
Input: ads7846 - detect pen up from GPIO state
Input: ads7846 - select correct SPI mode
Input: ads7846 - switch to using hrtimer
Input: ads7846 - optionally leave Vref on during differential measurements
Input: ads7846 - pluggable filtering logic
Input: gpio-keys - keyboard driver for GPIO buttons
Input: hid-ff - add support for Logitech Momo racing wheel
Input: i8042 - really suppress ACK/NAK during panic blink
Input: pc110pad - return proper error -
Delete the few remaining unnecessary calls to memset(0) after a call to
kzalloc().Signed-off-by: Robert P. J. Day
Cc: Andi Kleen
Cc: Dmitry Torokhov
Cc: Adam Belay
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
10 Feb, 2007
7 commits
-
On boxes that do not implement AUX LOOP command we can not
verify AUX IRQ delivery and must assume that it is wired
properly.Signed-off-by: Dmitry Torokhov
-
Tested on a Amilo D8820.
Signed-off-by: Michael Leun
Signed-off-by: Dmitry Torokhov -
Change the apparently incorrect check for CONFIG_INPUT_ATIXL
in a source file to be consistent with the kernel config
option CONFIG_MOUSE_ATIXL.Signed-off-by: Robert P. J. Day
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov -
Also some whitespace cleanup.
Signed-off-by: Cyrill V. Gorcunov
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov -
Compaq touchscreen emulation (drivers/input/tsdev.c) is old,
was obsolete when it was written by the authors own admission
and much better userspace solutions like tslib now exist.
The name is also confusing.Signed-off-by: Richard Purdie
Acked-by: James Simmons
Signed-off-by: Dmitry Torokhov -
This patch adds support for the buttons on the Atlas wallmount
touchscreen.Signed-off-by: Jaya Kumar
Acked-by: Len Brown
Signed-off-by: Dmitry Torokhov
09 Feb, 2007
1 commit
-
From: Andrew Morton
Cc: Takashi IwaiSigned-off-by: Andrew Morton
Signed-off-by: Jaroslav Kysela
08 Feb, 2007
1 commit
-
This adds the module name to all SERIO drivers, if they are built into
the kernel or not. It will show up in /sys/modules/MODULE_NAME/drivers/Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
18 Jan, 2007
8 commits
-
- Hook up to hwmon
* show sensor attributes only if hwmon is present
* ... and the board's reference voltage is known
* otherwise be just a touchscreen
- Report voltages per hwmon convention
* measure in millivolts
* voltages are named in[0-8]_input (ugh)
* for 7846 chips, properly range-adjust vBATT/in1_inputBattery measurements help during recharge monitoring. On OSK/Mistral,
the measured voltage agreed with a multimeter to several decimal places.Signed-off-by: David Brownell
Signed-off-by: Dmitry Torokhov -
We can't depend on the pressure value to determine when the pen was
lifted, so use the GPIO line state instead. This also helps with
chips (like ads7843) that don't have pressure sensors.Signed-off-by: Imre Deak
Signed-off-by: Juha Yrjola
Signed-off-by: David Brownell
Signed-off-by: Dmitry Torokhov -
Talk to ADS7846 chip using SPI mode 1, which is what the chip
supports: writes on falling clock edge, reads on rising.Signed-off-by: Imre Deak
Signed-off-by: Tony Lindgren
Signed-off-by: David Brownell
Signed-off-by: Dmitry Torokhov -
Use hrtimer instead of the normal timer, since it provides better
sampling resolution. This will:- avoid a problem where we have a 1 jiffy poll period and
dynamic tick on
- utilize high resolution HW clocks when they are added to
the hrtimer frameworkSigned-off-by: Imre Deak
Signed-off-by: Juha Yrjola
Signed-off-by: David Brownell
Signed-off-by: Dmitry Torokhov -
On some LCDs leaving the Vref on provides much better readings.
Signed-off-by: Jarkko Oikarinen
Signed-off-by: Imre Deak
Signed-off-by: Juha Yrjola
Signed-off-by: David Brownell
Signed-off-by: Dmitry Torokhov -
Some LCDs like the LS041Y3 require a customized filtering
logic for reliable readings, so make the filtering function
replacable through platform specific hooks.Signed-off-by: Imre Deak
Signed-off-by: Juha Yrjola
Signed-off-by: David Brownell
Signed-off-by: Dmitry Torokhov -
This is an interrupt-driven keyboard driver for simple buttons
connected directly to CPU GPIO lines of embedded ARM systems.
It supports pxa architectures and is used by a number of PDAs
and PocketPC phones in the handhelds.org kernel. Support for
other architectures, such as sa11xx and sc2410, will be added
once generic GPIO API is available.Signed-off-by: Paul Sokolovsky
Signed-off-by: Philipp Zabel
Signed-off-by: Dmitry Torokhov -
On some boxes panic blink procedure manages to send both bytes
to keyboard contoller before getting first ACK so we need to
make i8042_suppress_kbd_ack a counter instead of boolean.Signed-off-by: Dmitry Torokhov
01 Jan, 2007
1 commit
-
We need to pass in the resource otherwise we cannot
release the region properly. We must know whether it is
an I/O or MEM resource.Spotted by Eric Brower.
Signed-off-by: David S. Miller
21 Dec, 2006
1 commit
-
The driver should return -ENODEV rather than -ENOENT when it
detects a PCI device in the box.Signed-off-by: Akinobu Mita
Signed-off-by: Dmitry Torokhov
18 Dec, 2006
2 commits
-
"sunkbd_enable(sunkbd, 0);" has no effect. Adding "sunkbd->enabled =
enable" in sunkbd_enable (obvious)Signed-off-by: Fabrice Knevez
Signed-off-by: David S. Miller -
amikbd: missing declaration
sun3_NCR5380: more work_struct mess
sun3_NCR5380: cast is not an lvalueSigned-off-by: Al Viro