- 11 2月, 2011 1 次提交
-
-
由 Dmitry Torokhov 提交于
When driver uses custom pendown detection method gpio_pendown is not set up and so we should not try to free it, otherwise we are presented with: ------------[ cut here ]------------ WARNING: at drivers/gpio/gpiolib.c:1258 gpio_free+0x100/0x12c() Modules linked in: [<c0061208>] (unwind_backtrace+0x0/0xe4) from [<c0091f58>](warn_slowpath_common+0x4c/0x64) [<c0091f58>] (warn_slowpath_common+0x4c/0x64) from [<c0091f88>](warn_slowpath_null+0x18/0x1c) [<c0091f88>] (warn_slowpath_null+0x18/0x1c) from [<c024e610>](gpio_free+0x100/0x12c) [<c024e610>] (gpio_free+0x100/0x12c) from [<c03e9fbc>](ads7846_probe+0xa38/0xc5c) [<c03e9fbc>] (ads7846_probe+0xa38/0xc5c) from [<c02cff14>](spi_drv_probe+0x18/0x1c) [<c02cff14>] (spi_drv_probe+0x18/0x1c) from [<c028bca4>](driver_probe_device+0xc8/0x184) [<c028bca4>] (driver_probe_device+0xc8/0x184) from [<c028bdc8>](__driver_attach+0x68/0x8c) [<c028bdc8>] (__driver_attach+0x68/0x8c) from [<c028b4c8>](bus_for_each_dev+0x48/0x74) [<c028b4c8>] (bus_for_each_dev+0x48/0x74) from [<c028ae08>](bus_add_driver+0xa0/0x220) [<c028ae08>] (bus_add_driver+0xa0/0x220) from [<c028c0c0>](driver_register+0xa8/0x134) [<c028c0c0>] (driver_register+0xa8/0x134) from [<c0050550>](do_one_initcall+0xcc/0x1a4) [<c0050550>] (do_one_initcall+0xcc/0x1a4) from [<c00084e4>](kernel_init+0x14c/0x214) [<c00084e4>] (kernel_init+0x14c/0x214) from [<c005b494>](kernel_thread_exit+0x0/0x8) ---[ end trace 4053287f8a5ec18f ]--- Also rearrange ads7846_setup_pendown() to have only one exit point returning success. Reported-by: NSourav Poddar <sourav.poddar@ti.com> Acked-by: NWolfram Sang <w.sang@pengutronix.de> Reviewed-by: NCharulatha V <charu@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 2月, 2011 4 次提交
-
-
由 Dmitry Torokhov 提交于
This reverts commit 5fdbe44d. Apparently there exist userspace programs that expect to be able to "loop back" and distribute to readers events written into /dev/input/eventX and this change made for the benefit of SysRq handler broke them. Now that SysRq uses alternative method to suppress filtering of the events it re-injects we can safely revert this change. Reported-by: NKristen Carlson Accardi <kristen@linux.intel.com> Cc: stable@kernel.org Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
Internally 'disable' the filter when re-injecting Alt-SysRq instead of relying on input core to suppress delivery of injected events to the originating handler. This allows to revert commit 5fdbe44d which causes problems with existing userspace programs trying to loopback the events via evdev. Reported-by: NKristen Carlson Accardi <kristen@linux.intel.com> Cc: stable@kernel.org Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Duncan Laurie 提交于
When rebinding a serio driver via sysfs drvctl interface it is possible for an interrupt to trigger after the disconnect of the existing driver and before the binding of the new driver. This will cause the serio interrupt handler to queue a rescan event which will disconnect the new driver immediately after it is attached. This change removes pending rescans from the serio event queue after processing the drvctl request but before releasing the serio mutex. Reproduction involves issuing a rebind of device port from psmouse driver to serio_raw driver while generating input to trigger interrupts. Then checking to see if the corresponding i8042/serio4/driver is correctly attached to the serio_raw driver instead of psmouse. Signed-off-by: NDuncan Laurie <dlaurie@chromium.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Alexander Stein 提交于
IORESOURCE_IRQ_* is wrong for irq_request, use the correct IRQF_* instead. Signed-off-by: NAlexander Stein <alexander.stein@informatik.tu-chemnitz.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 2月, 2011 1 次提交
-
-
由 Ping Cheng 提交于
Serial devices send both pen and touch data through the same logical port. Since we scaled touch to pen maximum, we use pen resolution for touch as well here. This is under the assumption that pen and touch share the same physical surface. In the case when a small physical dimensional difference occurs between pen and touch, we assume the tolerance for touch point precision is higher than pen and the difference is within touch point tolerance. A per-MT tool based resolution mechanism should be introduced if the above assumption does not hold true for the pen and touch devices any more. Signed-off-by: NPing Cheng <pingc@wacom.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 1月, 2011 4 次提交
-
-
On some machines, like Dell Studio XPS 16 (1640), touchpad fails to respond to the standard query after first reset but may start responding later, so let's repeat reset sequence several (3) times. Signed-off-by: NAlexandre Peixoto Ferreira <alexandref75@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
synaptics_set_advanced_gesture_mode() affect capabilities bits we should perform comparison after calling this function, otherwise they will never match and we will be forced to perform full reconnect. Signed-off-by: NAlexandre Peixoto Ferreira <alexandref75@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rakesh Iyer 提交于
Correct key mapping for Left Meta key. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rakesh Iyer 提交于
Fix build error introduced by variable name change. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 26 1月, 2011 1 次提交
-
-
由 Ping Cheng 提交于
Also remove fake ABS_RX/ABS_RY "axes" that were used to report physical dimensions now that we have better way. Signed-off-by: NPing Cheng <pingc@wacom.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 25 1月, 2011 2 次提交
-
-
由 Ping Cheng 提交于
Reported-by: NDavid Foley <favux.is@gmail.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Andy Whitcroft 提交于
Currently sysrq_enabled and __sysrq_enabled are initialised separately and inconsistently, leading to sysrq being actually enabled by reported as not enabled in sysfs. The first change to the sysfs configurable synchronises these two: static int __read_mostly sysrq_enabled = 1; static int __sysrq_enabled; Add a common define to carry the default for these preventing them becoming out of sync again. Default this to 1 to mirror previous behaviour. Signed-off-by: NAndy Whitcroft <apw@canonical.com> Cc: stable@kernel.org Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 1月, 2011 4 次提交
-
-
由 Dmitry Torokhov 提交于
We were forgetting to set up device capabilities for KEY_VSW entries. Reported-by: NTapio Vihuri <tapio.vihuri@nokia.com> Tested-by: NTapio Vihuri <tapio.vihuri@nokia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rakesh Iyer 提交于
This patch adds support for the internal matrix keyboard controller for Nvidia Tegra platforms. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Reviewed-by: NTrilok Soni <tsoni@codeaurora.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Philippe Langlais 提交于
The driver does not require hardirq context and can work with threaded interrupts as well, so let's switch to request_any_context_irq which will select the context that is available for us. Signed-off-by: NPhilippe Langlais <philippe.langlais@stericsson.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 David Engraf 提交于
Parse and pass the status byte information to the registered serio drivers as well as the data bytes. Signed-off-by: David Engraf<david.engraf@sysgo.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 1月, 2011 5 次提交
-
-
由 Davidlohr Bueso 提交于
If request_irq() fails we should return the proper error instead of -1. Signed-off-by: NDavidlohr Bueso <dave@gnu.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Naveen Kumar Gaddipati 提交于
Add regulator support in ROHM BU21013 touch panel driver. Signed-off-by: NNaveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Naveen Kumar Gaddipati 提交于
Remove duplicate display resolution parameters from platform data as one pair is quite enough. Signed-off-by: NNaveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jamie Iles 提交于
We should use IS_ERR() when checking whether clk_get() succeeded or not since it returns errors by encoding error codes with ERR_PTR(). Signed-off-by: NJamie Iles <jamie@jamieiles.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jamie Iles 提交于
We should use IS_ERR() when checking whether clk_get() succeeded or not since it returns errors by encoding error codes with ERR_PTR(). Signed-off-by: NJamie Iles <jamie@jamieiles.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 1月, 2011 2 次提交
-
-
由 Dmitry Torokhov 提交于
-
由 Jekyll Lai 提交于
This switch is used to signal that user want to disable screen transitions from portrait to landscape mode and back. Signed-off-by: NJekyll Lai <jekyll_lai@wistron.com> Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 11 1月, 2011 3 次提交
-
-
由 Alexander Stein 提交于
'features' is a bit array, not byte array Signed-off-by: NAlexander Stein <alexander.stein@informatik.tu-chemnitz.de> Acked-by: NAnssi Hannula <anssi.hannula@iki.fi> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
Emulate single-touch compatible events for the 2-finger panels so that they can be used with single-touch legacy clients. Assign device ids as Wacom USB vendor ID and product ID. Name the device to reflect its specific features. Scale touch coordinates to pen maximum if pen supported. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Fabien Marteau 提交于
This is driver for EasyPoint AS5011 2 axis joystick chip. This chip is plugged on an I2C bus. Tested on ARM processor (i.MX27). Signed-off-by: NFabien Marteau <fabien.marteau@armadeus.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 08 1月, 2011 2 次提交
-
-
由 Jamie Iles 提交于
The only platform using this driver (mach-aaec2000) is no longer in the kernel so remove the driver. Signed-off-by: NJamie Iles <jamie@jamieiles.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jiri Kosina 提交于
i8042 controller present in Dell Vostro V13 errorneously signals spurious timeouts. Introduce i8042.notimeout parameter for ignoring i8042-signalled timeouts and apply this quirk automatically for Dell Vostro V13, based on DMI match. In addition to that, this machine also needs to be added to nomux blacklist. Signed-off-by: NJiri Kosina <jkosina@suse.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 07 1月, 2011 6 次提交
-
-
由 Mark Brown 提交于
There is a general move towards the use of dev_pm_ops rather than bus specific suspend APIs as this simplifies both the bus and PM core implementations. Convert the cy8ctmg110_ts driver over. Compile tested only. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move towards the use of dev_pm_ops rather than bus specific suspend APIs as this simplifies both the bus and PM core implementations. Convert the migor_ts driver over. Compile tested only. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NMagnus Damm <damm@opensource.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move towards the use of dev_pm_ops rather than bus specific suspend APIs as this simplifies both the bus and PM core implementations. Convert the mcs5000_ts driver over. Compile tested only. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move towards the use of dev_pm_ops rather than bus specific suspend APIs as this simplifies both the bus and PM core implementations. Convert the eeti_ts driver over. Compile tested only by me, but Sven Neumann reports that the new code works. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Tested-by: NSven Neumann <s.neumann@raumfeld.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move towards the use of dev_pm_ops rather than bus specific suspend APIs as this simplifies both the bus and PM core implementations. Convert the ad7879-ts I2C support over. Compile tested only. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Conflicts: include/linux/input.h
-
- 30 12月, 2010 1 次提交
-
-
由 Ping Cheng 提交于
Not all penabled devices support touch. The same holds true for touch devices, so we should be setting up devices according to the results returned when we query the hardware. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 12月, 2010 4 次提交
-
-
由 Ping Cheng 提交于
This makes code safer and easier to read. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 David Sterba 提交于
Signed-off-by: NDavid Sterba <dsterba@suse.cz> Acked-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Pali Rohár 提交于
This patch adds notebook Acer Aspire 5100 to the list of Dritek HW. Acer Aspire 5100 needs Dritek keyboard extension to support all Fn keys. Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Tested-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-