27 May, 2011
2 commits
-
Add support for PMIC8XXX power key driven over dedicated
KYPD_PWR_N pin.Acked-by: Dmitry Torokhov
Signed-off-by: Trilok Soni
Signed-off-by: Anirudh Ghayal
Signed-off-by: Samuel Ortiz -
With the addition of a platform device mfd_cell pointer, MFD drivers
can go back to passing platform data back to their sub drivers.
This allows for an mfd_cell->mfd_data removal and thus keep the
sub drivers MFD agnostic. This is mostly needed for non MFD aware
sub drivers.Cc: Peter Ujfalusi
Cc: Mark Brown
Cc: Liam Girdwood
Cc: Dmitry Torokhov
Signed-off-by: Samuel Ortiz
17 May, 2011
4 commits
-
As reported by Jean-Francois Dagenais, the wheel algorithm caused a
divide by zero exception due to missing variable pre-initialization.
In fact it turned out that the whole algorithm had several problems.
It is therefore replaced with something that is known working.Signed-off-by: Michael Hennerich
Tested-by: Jean-Francois Dagenais
Signed-off-by: Dmitry Torokhov -
Add option to specify irqflags in platfrom data.
Also update copyright notice.Signed-off-by: Michael Hennerich
Tested-by: Jean-Francois Dagenais
Signed-off-by: Dmitry Torokhov -
Fix two issues in the threshold and completion interrupt mask and unmask
functions. According to the AD714x datasheets the highest stage completion
interrupt should be enabled. Fix mask computation.Signed-off-by: Michael Hennerich
Tested-by: Jean-Francois Dagenais
Signed-off-by: Dmitry Torokhov -
Add missing input name and set up parent devices so input devices will
show in proper places in sysfs tree.Signed-off-by: Michael Hennerich
Tested-by: Jean-Francois Dagenais
Signed-off-by: Dmitry Torokhov
12 May, 2011
2 commits
-
Add support for encoders that have two detents per input signal period.
Signed-off-by: Johan Hovold
Acked-by: Daniel Mack
Signed-off-by: Dmitry Torokhov -
Refactor state retrieval and event reporting in interrupt handler.
Remove a few empty lines.Signed-off-by: Johan Hovold
Reviewed-by: H Hartley Sweeten
Acked-by: Daniel Mack
Signed-off-by: Dmitry Torokhov
05 May, 2011
1 commit
-
If the channel_mask setup fails when configuring it through sysfs,
return the error code to the caller instead of claiming success.Signed-off-by: Ville Syrjala
Signed-off-by: Dmitry Torokhov
28 Apr, 2011
1 commit
-
In twl4030_pwrbutton_probe error path, free_irq() was using NULL rather than
the driver data as the data pointer so free_irq() wouldn't have matched.Signed-off-by: Axel Lin
Signed-off-by: Dmitry Torokhov
19 Apr, 2011
2 commits
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: xen-kbdfront - fix mouse getting stuck after save/restore
Input: estimate number of events per packet
Input: evdev - indicate buffer overrun with SYN_DROPPED
Input: document event types and codes and their intended use
Input: add KEY_IMAGES specifically for AL Image Browser
Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe()
Input: h3600_ts - fix error handling at connect
Input: twl4030_keypad - avoid potential NULL-pointer dereference -
Mouse gets "stuck" after restore of PV guest but buttons are in working
condition.If driver has been configured for ABS coordinates at start it will get
XENKBD_TYPE_POS events and then suddenly after restore it'll start getting
XENKBD_TYPE_MOTION events, that will be dropped later and they won't get
into user-space.Regression was introduced by hunk 5 and 6 of
5ea5254aa0ad269cfbd2875c973ef25ab5b5e9db
("Input: xen-kbdfront - advertise either absolute or relative
coordinates").Driver on restore should ask xen for request-abs-pointer again if it is
available. So restore parts that did it before 5ea5254.Acked-by: Olaf Hering
Signed-off-by: Igor Mammedov
[v1: Expanded the commit description]
Signed-off-by: Konrad Rzeszutek Wilk
Signed-off-by: Dmitry Torokhov
08 Apr, 2011
1 commit
-
* 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6:
Fix common misspellings
06 Apr, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: rpckbd - fix a leak of the IRQ during init failure
Input: wacom - add support for Lenovo tablet ID (0xE6)
Input: i8042 - downgrade selftest error message to dbg()
Input: synaptics - fix crash in synaptics_module_init()
Input: spear-keyboard - fix inverted condition in interrupt handler
Input: uinput - allow for 0/0 min/max on absolute axes.
Input: sparse-keymap - report KEY_UNKNOWN for unknown scan codes
Input: sparse-keymap - report scancodes with key events
Input: h3600_ts_input - fix a spelling error
Input: wacom - report resolution for pen devices
Input: wacom - constify wacom_features for a new missed Bamboo models
31 Mar, 2011
2 commits
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
-
Some devices provide absolute axes with min/max of 0/0 (e.g. wacom's
ABS_MISC axis). Current uinput restrictions do not allow duplication of
these devices and require hacks in userspace to work around this.If the kernel accepts physical devices with a min/max of 0/0, uinput
shouldn't disallow the same range.Signed-off-by: Peter Hutterer
Signed-off-by: Dmitry Torokhov
23 Mar, 2011
2 commits
-
Copy 88pm860x platform data into different mfd_data structure for
onkey/touch/codec/power driver. So move the identification of
device node from those drivers to mfd driver.Signed-off-by: Haojian Zhuang
Signed-off-by: Samuel Ortiz -
The cell's platform_data is now accessed with a helper function;
change clients to use that, and remove the now-unused data_size.Signed-off-by: Andres Salomon
Acked-by: Peter Ujfalusi
Signed-off-by: Samuel Ortiz
20 Mar, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (64 commits)
Input: tsc2005 - remove 'disable' sysfs attribute
Input: tsc2005 - add open/close
Input: tsc2005 - handle read errors from SPI layer
Input: tsc2005 - do not rearm timer in hardirq handler
Input: tsc2005 - don't use work for 'pen up' handling
Input: tsc2005 - do not use 0 in place of NULL
Input: tsc2005 - use true/false for boolean variables
Input: tsc2005 - hide selftest attribute if we can't reset
Input: tsc2005 - rework driver initialization code
Input: tsc2005 - set up bus type in input device
Input: tsc2005 - set up parent device
Input: tsc2005 - clear driver data after unbinding
Input: tsc2005 - add module description
Input: tsc2005 - remove driver banner message
Input: tsc2005 - remove incorrect module alias
Input: tsc2005 - convert to using dev_pm_ops
Input: tsc2005 - use spi_get/set_drvdata()
Input: introduce tsc2005 driver
Input: xen-kbdfront - move to drivers/input/misc
Input: xen-kbdfront - add grant reference for shared page
...
19 Mar, 2011
1 commit
17 Mar, 2011
1 commit
-
drivers/input is reserved for input core code and input handlers with
drivers belonging to one of the sub-directories.Signed-off-by: Dmitry Torokhov
28 Feb, 2011
1 commit
-
Get rid of old users of of_platform_driver in arch/sparc. Most
of_platform_driver users can be converted to use the platform_bus
directly.Signed-off-by: Grant Likely
21 Feb, 2011
8 commits
-
The test here is reversed. It should be if (IS_ERR()) instead of
if (!IS_ERR()).Signed-off-by: Dan Carpenter
Signed-off-by: Dmitry Torokhov -
The adxl34x SPI driver has what appears to be a typo referring to the
device as adx134x with the numeral 1 rather than letter l. This appears
to be an error so convert.Signed-off-by: Mark Brown
Acked-by: Michael Hennerich
Signed-off-by: Dmitry Torokhov -
There is a general move to convert drivers to use dev_pm_ops rather than
bus specific ones in order to facilitate core development. Do this
conversion for adxl34x-spi.Signed-off-by: Mark Brown
Acked-by: Michael Hennerich
Signed-off-by: Dmitry Torokhov -
There is a general move to convert drivers to use dev_pm_ops rather than
bus specific ones in order to facilitate core development. Do this
conversion for adxl34x-i2c.Signed-off-by: Mark Brown
Acked-by: Michael Hennerich
Signed-off-by: Dmitry Torokhov -
There is a general move to convert drivers to use dev_pm_ops rather than
bus specific PM operations in order to facilitate core work. Do this
conversion for ad714x-spi.Signed-off-by: Mark Brown
Acked-by: Michael Hennerich
Signed-off-by: Dmitry Torokhov -
There is a general move to convert drivers to use dev_pm_ops rather than
bus specific PM operations in order to facilitate core work. Do this
conversion for ad714x-i2c.Signed-off-by: Mark Brown
Acked-by: Michael Hennerich
Signed-off-by: Dmitry Torokhov -
Instead of open-coding copying of data structures from userspace use
memdup_user() and strndup_user(). Note that this introduces change in
behavior because driver used to truncate 'phys' longer than 1024 bytes,
but now it will refuse to set 'phys' that long. Arguably trying to set
such 'phys' is suspect anyways.Signed-off-by: Dmitry Torokhov
-
The check for non-empty device name was botched since we tried to account
for extra space for the terminating zero at the same time. Convert to
kstrndup() to avoid this problem.Signed-off-by: David Herrmann
Acked-by: Aristeu Rozanski
Signed-off-by: Dmitry Torokhov
16 Feb, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: matrix_keypad - increase the limit of rows and columns
Input: wacom - fix error path in wacom_probe()
Input: ads7846 - check proper condition when freeing gpio
Revert "Input: do not pass injected events back to the originating handler"
Input: sysrq - rework re-inject logic
Input: serio - clear pending rescans after sysfs driver rebind
Input: rotary_encoder - use proper irqflags
Input: wacom_w8001 - report resolution to userland
06 Feb, 2011
1 commit
-
FREQ is a ridiculously short name for a platform-specific macro in a
generic header, and it now conflicts with an enumeration in the
gspca/ov519 driver.Also delete conditional reference to ixp4xx_get_board_tick_rate()
which is not defined anywhere.Signed-off-by: Ben Hutchings
Signed-off-by: Krzysztof Hałasa
03 Feb, 2011
1 commit
-
IORESOURCE_IRQ_* is wrong for irq_request, use the correct IRQF_* instead.
Signed-off-by: Alexander Stein
Signed-off-by: Dmitry Torokhov
01 Feb, 2011
1 commit
-
All users of old style get/setkeycode methids have been converted so
it is time to retire them.Acked-by: Mauro Carvalho Chehab
Acked-by: Jiri Kosina
Signed-off-by: Dmitry Torokhov
08 Jan, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (58 commits)
Input: wacom_w8001 - support pen or touch only devices
Input: wacom_w8001 - use __set_bit to set keybits
Input: bu21013_ts - fix misuse of logical operation in place of bitop
Input: i8042 - add Acer Aspire 5100 to the Dritek list
Input: wacom - add support for digitizer in Lenovo W700
Input: psmouse - disable the synaptics extension on OLPC machines
Input: psmouse - fix up Synaptics comment
Input: synaptics - ignore bogus mt packet
Input: synaptics - add multi-finger and semi-mt support
Input: synaptics - report clickpad property
input: mt: Document interface updates
Input: fix double equality sign in uevent
Input: introduce device properties
hid: egalax: Add support for Wetab (726b)
Input: include MT library as source for kerneldoc
MAINTAINERS: Update input-mt entry
hid: egalax: Add support for Samsung NB30 netbook
hid: egalax: Document the new devices in Kconfig
hid: egalax: Add support for Wetab
hid: egalax: Convert to MT slots
...Fixed up trivial conflict in drivers/input/keyboard/Kconfig
29 Dec, 2010
1 commit
-
Move winbond-cir from drivers/input/misc/ into drivers/media/rc/
and convert it to use rc-core.Signed-off-by: David Härdeman
Signed-off-by: Mauro Carvalho Chehab
28 Dec, 2010
1 commit
20 Dec, 2010
1 commit
-
Today, userspace sets up an input device based on the data it emits.
This is not always enough; a tablet and a touchscreen may emit exactly
the same data, for instance, but the former should be set up with a
pointer whereas the latter does not need to. Recently, a new type of
touchpad has emerged where the buttons are under the pad, which
changes logic without changing the emitted data. This patch introduces
a new ioctl, EVIOCGPROP, which enables user access to a set of device
properties useful during setup. The properties are given as a bitmap
in the same fashion as the event types, and are also made available
via sysfs, uevent and /proc/bus/input/devices.Acked-by: Ping Cheng
Acked-by: Chase Douglas
Acked-by: Dmitry Torokhov
Signed-off-by: Henrik Rydberg
17 Dec, 2010
1 commit
-
Conflicts:
drivers/input/Makefile
16 Dec, 2010
1 commit
-
The MT slots devices all follow the same initialization pattern
of creating slots and hinting about buffer size. Let drivers call
an initialization function instead, and make sure it can be called
repeatedly without side effects.Signed-off-by: Henrik Rydberg