- 02 5月, 2012 2 次提交
-
-
由 Dmitry Torokhov 提交于
Instead of returning 1 (which is not even negative) let's capture and return error codde returned by usb_get_extra_descriptor(). Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
This fixes the following warning from sparse warning: Using plain integer as NULL pointer Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 30 4月, 2012 5 次提交
-
-
由 Ashish Jangam 提交于
This driver adds support for DA9052/53 4-wire resistive ADC interfaced touchscreen controller. DA9052/53 is a multi-function device, therefore this driver depends on DA9052/53 core. This patch is functionally tested on Samsung SMDKV6410. Signed-off-by: NDavid Dajun Chen <dchen@diasemi.com> Signed-off-by: NAshish Jangam <ashish.jangam@kpitcummins.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Shawn Landden 提交于
as is the case of all other devices supported by usbtouchscreen.c Also list e2i under the composite configure option (TOUCHSCREEN_USB_COMPOSITE) Signed-off-by: NShawn Landden <shawnlandden@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Shawn Landden 提交于
Signed-off-by: NShawn Landden <shawnlandden@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
Main part of patch is adding support for a new Wacom MT touch packet and labels these devices using MTSCREEN type. Other items of interest: Delete some duplicate code in HID parsing for Y info since its already done in X path. In wacom_query_tablet_data(), only invoke the set report that requests tablets to send Wacom Touch packets for Finger interfaces. Mostly, this is to make code intent clear. Tested-by: NJason Gerecke <killertofu@gmail.com> Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
From the HID usage table when it is supported. Tested-by: NJason Gerecke <killertofu@gmail.com> Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 24 4月, 2012 3 次提交
-
-
由 Julia Lawall 提交于
At the point of this error-handling code, aiptek->urb has been allocated, and it does not appear to be less necessary to free it here than in the error-handling code just below. Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Roland Stigge 提交于
During the device tree integration of the various LPC32xx drivers, we agreed on using non-wildcard "compatible" strings. This change switches lpc32xx_ts touchscreen driver to use "nxp,lpc3220-tsc". Signed-off-by: NRoland Stigge <stigge@antcom.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jesper Juhl 提交于
I believe that "trying to access hardware" is more correct English than "trying access hardware". Signed-off-by: NJesper Juhl <jj@chaosbits.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 22 4月, 2012 1 次提交
-
-
由 Axel Lin 提交于
This patch converts the drivers in drivers/input/* to use module_pci_driver() macro which makes the code smaller and a bit simpler. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 4月, 2012 7 次提交
-
-
由 Dmitry Torokhov 提交于
Avoid calling wait_event_interruptible() if client requested non-blocking read, since it is not guaranteed that another thread will not consume event after we checked if serio_raw->head != serio_raw->tail. Also ensure we do not return 0 but keep waiting instead in blocking case, when another thread steals "our" byte. Reviewed-by: NDavid Herrmann <dh.herrmann@googlemail.com> Reviewed-by: NChe-Liang Chiou <clchiou@chromium.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
settle_time and debounce_period are u8 and thus can not be greater than TC3589x_MAX_DEBOUNCE_SETTLE which is 255. There also no need to mask out nibbles form board->krow and board->kcol as we validate that they are in correct range. Reported-by: NWerner <w.landgraf@ru.ru> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
data->mode is unsigned and can not be less than 0. Reported-by: NWerner <w.landgraf@ru.ru> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Instead of allocating and managing keymap separately from the keypad structure stick it at the end as a variable-length array. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
SIMPLE_DEV_PM_OPS already defines constant dev_pm_ops. Also guard PM methods with CONFIG_PM_SLEEP and get rid of some unneeded #ifdefs. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Roland Stigge 提交于
This change implements device tree support for the LPC32xx SoC's touchscreen controller. Signed-off-by: NRoland Stigge <stigge@antcom.de> Reviewed-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 4月, 2012 1 次提交
-
-
由 Peter Ujfalusi 提交于
Complete the separation of the twl6040 from the twl core since it is a separate chip, not part of the twl6030 PMIC. Make the needed Kconfig changes for the depending drivers at the same time to avoid breaking the kernel build (vibra, ASoC components). Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Reviewed-by: NMark Brown <broonie@opensource.wolfsonicro.com> Acked-by: NTony Lindgren <tony@atomide.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 12 4月, 2012 1 次提交
-
-
由 Jesper Juhl 提交于
If, in drivers/input/misc/da9052_onkey.c::da9052_onkey_probe(), the call to either kzalloc() or input_allocate_device() fails then we will return -ENOMEM from the function without freeing the other allocation that may have succeeded, thus we leak either the memory allocated for 'onkey' or the memory allocated for 'input_dev' if one succeeds and the other fails. Fix that by jumping to the 'err_free_mem' label at the end of the function that properly cleans up rather than returning directly. Signed-off-by: NJesper Juhl <jj@chaosbits.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 11 4月, 2012 2 次提交
-
-
由 Dmitry Torokhov 提交于
Also use CONFIG_PM_SLEEP instead of CONFIG_PM to guard PM methods. Acked-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
Direct usage of the asm include has long been deprecated by the introduction of gpiolib. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 10 4月, 2012 4 次提交
-
-
由 Dmitry Torokhov 提交于
Because irq_to_gpio() is not available on many platforms let's switch to level-triggered one-shot IRQs that will stay active as long as there is data to be read. Tested-by: NTobita Tatsunosuke <tobita.tatsunosuke@wacom.co.jp> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 JJ Ding 提交于
Use psmouse_*() macros introduced in commit b5d21704. Signed-off-by: NJJ Ding <dgdunix@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 JJ Ding 提交于
Add pointer and buttonpad properties for v4 hardware. Also, Jachiet reported that on Asus UX31, right button has no effect. It turns out v4 has only one button, the right-button effect is implemented with software when Windows driver is installed, or in firmware when touchpad is in relative mode. So remove BTN_RIGHT while at it. Reported-by: NJachiet Louis <louis@jachiet.com> Signed-off-by: NJJ Ding <jj_ding@emc.com.tw> Reviewed-by: NChase Douglas <chase.douglas@canonical.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 JJ Ding 提交于
Acer VH40 has a Fn key toggling the touchpad on and off, but it's implemented in system firmware, and the EC chip has to receive reset command to activate this function. Also when this machine wakes up after resume, psmouse_reset is necessary to bring the touchpad back on. Signed-off-by: NJJ Ding <jj_ding@emc.com.tw> Reviewed-by: NChase Douglas <chase.douglas@canonical.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 4月, 2012 10 次提交
-
-
由 Axel Lin 提交于
This patch converts the drivers in drivers/input/* to use module_gameport_driver() macro which makes the code smaller and a bit simpler. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
This patch converts the drivers in drivers/input/* to use module_serio_driver() macro which makes the code smaller and a bit simpler. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jason Gerecke 提交于
Intuos5 tablets with PTH-* model numbers include a multitouch sensor which use the same touch reports as the 3rd-generation Bamboo. No useful information is in the HID descriptor for the touch interface so hardcoded values are used during setup. Signed-off-by: NJason Gerecke <killertofu@gmail.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jason Gerecke 提交于
The Touch Ring LEDs on Intuos5 tablets use a different report format which supports only 4 levels of brightness. We remap the 7-bit value obtained from sysfs to an appropriate value for the tablet. Control of the crop mark LEDs (new to the I5) is left for a later patch. Signed-off-by: NJason Gerecke <killertofu@gmail.com> Reviewed-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jason Gerecke 提交于
Intuos5 uses a new report type for Touch Ring and ExpressKey data. Note that data from the capacitive sensors present on the ExpressKeys will be ignored until a proper way is found to expose it. Signed-off-by: NJason Gerecke <killertofu@gmail.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jason Gerecke 提交于
This patch adds support for the basic pen functions of Intuos5 tablets. Signed-off-by: NJason Gerecke <killertofu@gmail.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NPing Cheng <pingc@wacom.com> Tested-by: NTimo Aaltonen <tjaalton@ubuntu.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Acked-by: NRafael J. Wysocki <rjw@sisk.pl> Reviewed-by: NSimon Horman <horms@verge.net.au> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Magnus Damm 提交于
This patch enables DT support for the st1232 driver which is primarily used on the sh7372 Mackerel board. [dtor@mail.ru: chnaged to use CONFIG_OF and of_match_ptr] Signed-off-by: NMagnus Damm <damm@opensource.se> Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Wolfram Sang 提交于
This driver adds support for the keypad part of the LM8333 and is prepared for possible GPIO/PWM drivers. Note that this is not a MFD because you cannot disable the keypad functionality which, thus, has to be handled by the core anyhow. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Tatsunosuke Tobita 提交于
This adds support for Wacom Stylus device with I2C interface. [Dan Carpenter <dan.carpenter@oracle.com>: fix NULL-pointer dereference in error handling path.] Signed-off-by: NTatsunosuke Tobita <tobita.tatsunosuke@wacom.co.jp> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 04 4月, 2012 3 次提交
-
-
由 Dmitry Torokhov 提交于
'struct serio' is a refcounted data structure with lifetime rules different from 'struct xps2data'. It is quite likely that serio_unregister_port() will try to free memory allocated by the port and that is why it should be allocated separately. Also switch to using platform_get/set_drvdata instead of dev_get/set_drvdata because we are dealing with platform device. Reported-by: NTobias Klauser <tklauser@distanz.ch> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Oskari Saarenmaa 提交于
Taps in absolute positioning single-finger mode are currently reported as physical clicks by the driver. This should be handled by userspace, not the kernel. When a tap occurs, the FSP_PB0_LBTN bit is set, but the FSP_PB0_PHY_BTN is not. We use this to filter out physical clicks from taps. Signed-off-by: NOskari Saarenmaa <os@ohmu.fi> Reviewed-by: NTai-hwa Liang <avatar@sentelic.com> Reviewed-by: NChase Douglas <chase.douglas@canonical.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Uwe Kleine-König 提交于
This is needed to make module auto loading work. [dtor@mail.ru: remove file name from comment] Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 30 3月, 2012 1 次提交
-
-
由 Dan Carpenter 提交于
We accidentally removed the check for NULL in 3aac0ef1 "Input: wacom - isolate input registration". Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-