- 17 3月, 2012 1 次提交
-
-
由 Axel Lin 提交于
This patch converts the drivers in drivers/input/* to use the module_i2c_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>
-
- 12 10月, 2011 1 次提交
-
-
由 Philip Rakity 提交于
Abort driver initialization if X plate resistance was not specified in platform data as it will cause pressure to be always calculated as 0, and making userspace ignore touch coordinates. Signed-off-by: NPhilip Rakity <prakity@marvell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 8月, 2011 2 次提交
-
-
由 Dmitry Torokhov 提交于
This will ensure that the device delivers input events only when there are users. Tested-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Instead of using hard IRQ and workqueue solution switch to using threaded interrupt handler to simplify the code and locking rules. Tested-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 5月, 2011 5 次提交
-
-
由 Thierry Reding 提交于
These new platform-specific values can be used to set the fuzz parameter passed to the input_set_abs_params() function for the ABS_X, ABS_Y and ABS_PRESSURE axes. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Thierry Reding 提交于
This new parameter allows the polling frequency to be configured while keeping the default of once every millisecond. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Thierry Reding 提交于
Depending on the quality of the touch panel, the time for the X-, X+, Y- and Y+ inputs to settle may vary. The poll_delay parameter can be used to override the default of 1 millisecond. Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Kwangwoo Lee <kwangwoo.lee@gmail.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Thierry Reding 提交于
Finger touch events or very quick stylus events on low-quality panels can cause the tsc2007 to read bogus values. Looking at oscilloscope snapshots, this seems to be caused by the touch event disappearing during the measurements. These bogus values result in misclicks, where the X and Y values deviate from the real position. Most of these misclicks can be filtered out by setting a low enough threshold for the maximum resistance (which is loosely the inverse of the pressure) allowed to consider a set of values valid. Since this behaviour is largely dependent on the type and quality of the panel, this commit introduces the max_rt parameter. The default value is kept at MAX_12BIT. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Thierry Reding 提交于
When the controller signals a pen-down event via the platform-specific GPIO, while the sample values indicate an invalid measurement, the measurement needs to be repeated. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 9月, 2010 1 次提交
-
-
由 Axel Lin 提交于
Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 6月, 2010 1 次提交
-
-
由 Wolfram Sang 提交于
I2C drivers can use the clientdata-pointer to point to private data. As I2C devices are not really unregistered, but merely detached from their driver, it used to be the drivers obligation to clear this pointer during remove() or a failed probe(). As a couple of drivers forgot to do this, it was agreed that it was cleaner if the i2c-core does this clearance when appropriate, as there is no guarantee for the lifetime of the clientdata-pointer after remove() anyhow. This feature was added to the core with commit e4a7b9b0 to fix the faulty drivers. As there is no need anymore to clear the clientdata-pointer, remove all current occurrences in the drivers to simplify the code and prevent confusion. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NGreg Kroah-Hartman <gregkh@suse.de> Acked-by: NRichard Purdie <rpurdie@linux.intel.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 14 4月, 2010 1 次提交
-
-
由 Wolfram Sang 提交于
Do not leave dangling client data pointers when unbinding device from the driver. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 10 1月, 2010 1 次提交
-
-
由 Márton Németh 提交于
The id_table field of the struct i2c_driver is defined as constant in <linux/i2c.h> so it makes sense to mark the initialization data also constant. Signed-off-by: NMárton Németh <nm127@freemail.hu> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 8月, 2009 2 次提交
-
-
由 Richard Röjfors 提交于
Check the result when sending the power down command to the controller. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
In cases when get_pendown_state callback is not available have the driver to fallback on pressure calculation to determine if the pen is up. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 7月, 2009 4 次提交
-
-
由 Richard Röjfors 提交于
Don't read coordinates during probe of the driver, just power down the controller and wait for interrupts. Signed-off-by: Richard Röjfors<richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Richard Röjfors 提交于
Make init_platform_hw and exit_platform_hw callbacks optional since they are not needed on all platforms. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Properly shut off interrupts/delayed work by free-ing IRQ first and then ensuring that enable/disable is balanced. Also add __devinit/__devexit markings, restore poll delay/period scheduling logic, make sure we call exit_platform_hw() method when probe fails. Tested-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Richard Röjfors 提交于
Since it's not allowed to do synchronous I2C in the HR timer callback context we have to switch to using the global workqueue. The work is scheduled every 1ms when polling rather than 5 us. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 5月, 2009 1 次提交
-
-
由 Kwangwoo Lee 提交于
The platform codes must provide get_pendown_state() for the driver to work properly. Signed-off-by: NKwangwoo Lee <kwangwoo.lee@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 5月, 2009 1 次提交
-
-
由 Thierry Reding 提交于
Now that hrtimers are always running in hard irq context we can't unconditionally enable interrupts at the end of the timer function. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NKwangwoo Lee <kwangwoo.lee@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 4月, 2009 1 次提交
-
-
由 Ben Nizette 提交于
disable_irq() waits for all running handlers to complete before returning. As such, if it's used to disable an interrupt from that interrupt's handler it will deadlock. This replaces the dangerous instances with the _nosync() variant which doesn't have this problem. Signed-off-by: NBen Nizette <bn@niasdigital.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 30 1月, 2009 1 次提交
-
-
由 Kay Sievers 提交于
Acked-by: NGreg Kroah-Hartman <gregkh@suse.de> Signed-off-by: NKay Sievers <kay.sievers@vrfy.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 20 12月, 2008 1 次提交
-
-
由 Kwangwoo Lee 提交于
This drive has been tested on ARM9 based SoC - MV86XX. Signed-off-by: NKwangwoo Lee <kwangwoo.lee@gmail.com> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-