<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/input, branch v2.6.38-rc5</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input</title>
<updated>2011-02-15T17:40:27+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-02-15T17:40:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=87450bd55d6f7caa472b5db49a97ca373baf2577'/>
<id>87450bd55d6f7caa472b5db49a97ca373baf2577</id>
<content type='text'>
* '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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* '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
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom - fix error path in wacom_probe()</title>
<updated>2011-02-11T09:01:15+00:00</updated>
<author>
<name>Alexander Strakh</name>
<email>cromlehg@gmail.com</email>
</author>
<published>2011-02-11T08:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4b6d44344000ff3e62faf595e5f89fd8d9e52a94'/>
<id>4b6d44344000ff3e62faf595e5f89fd8d9e52a94</id>
<content type='text'>
If we fail to retrieve HID descriptor we need to free allocated URB so
jump to proper label to do that.

Signed-off-by: Alexander Strakh &lt;strakh@ispras.ru&gt;
Acked-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we fail to retrieve HID descriptor we need to free allocated URB so
jump to proper label to do that.

Signed-off-by: Alexander Strakh &lt;strakh@ispras.ru&gt;
Acked-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: ads7846 - check proper condition when freeing gpio</title>
<updated>2011-02-11T08:58:24+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2011-02-04T08:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0fbc9fdb7e747500111dcc4a5f5f3ceed0360d71'/>
<id>0fbc9fdb7e747500111dcc4a5f5f3ceed0360d71</id>
<content type='text'>
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:
[&lt;c0061208&gt;] (unwind_backtrace+0x0/0xe4) from [&lt;c0091f58&gt;](warn_slowpath_common+0x4c/0x64)
[&lt;c0091f58&gt;] (warn_slowpath_common+0x4c/0x64) from [&lt;c0091f88&gt;](warn_slowpath_null+0x18/0x1c)
[&lt;c0091f88&gt;] (warn_slowpath_null+0x18/0x1c) from [&lt;c024e610&gt;](gpio_free+0x100/0x12c)
[&lt;c024e610&gt;] (gpio_free+0x100/0x12c) from [&lt;c03e9fbc&gt;](ads7846_probe+0xa38/0xc5c)
[&lt;c03e9fbc&gt;] (ads7846_probe+0xa38/0xc5c) from [&lt;c02cff14&gt;](spi_drv_probe+0x18/0x1c)
[&lt;c02cff14&gt;] (spi_drv_probe+0x18/0x1c) from [&lt;c028bca4&gt;](driver_probe_device+0xc8/0x184)
[&lt;c028bca4&gt;] (driver_probe_device+0xc8/0x184) from [&lt;c028bdc8&gt;](__driver_attach+0x68/0x8c)
[&lt;c028bdc8&gt;] (__driver_attach+0x68/0x8c) from [&lt;c028b4c8&gt;](bus_for_each_dev+0x48/0x74)
[&lt;c028b4c8&gt;] (bus_for_each_dev+0x48/0x74) from [&lt;c028ae08&gt;](bus_add_driver+0xa0/0x220)
[&lt;c028ae08&gt;] (bus_add_driver+0xa0/0x220) from [&lt;c028c0c0&gt;](driver_register+0xa8/0x134)
[&lt;c028c0c0&gt;] (driver_register+0xa8/0x134) from [&lt;c0050550&gt;](do_one_initcall+0xcc/0x1a4)
[&lt;c0050550&gt;] (do_one_initcall+0xcc/0x1a4) from [&lt;c00084e4&gt;](kernel_init+0x14c/0x214)
[&lt;c00084e4&gt;] (kernel_init+0x14c/0x214) from [&lt;c005b494&gt;](kernel_thread_exit+0x0/0x8)
---[ end trace 4053287f8a5ec18f ]---

Also rearrange ads7846_setup_pendown() to have only one exit point
returning success.

Reported-by: Sourav Poddar &lt;sourav.poddar@ti.com&gt;
Acked-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Reviewed-by: Charulatha V &lt;charu@ti.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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:
[&lt;c0061208&gt;] (unwind_backtrace+0x0/0xe4) from [&lt;c0091f58&gt;](warn_slowpath_common+0x4c/0x64)
[&lt;c0091f58&gt;] (warn_slowpath_common+0x4c/0x64) from [&lt;c0091f88&gt;](warn_slowpath_null+0x18/0x1c)
[&lt;c0091f88&gt;] (warn_slowpath_null+0x18/0x1c) from [&lt;c024e610&gt;](gpio_free+0x100/0x12c)
[&lt;c024e610&gt;] (gpio_free+0x100/0x12c) from [&lt;c03e9fbc&gt;](ads7846_probe+0xa38/0xc5c)
[&lt;c03e9fbc&gt;] (ads7846_probe+0xa38/0xc5c) from [&lt;c02cff14&gt;](spi_drv_probe+0x18/0x1c)
[&lt;c02cff14&gt;] (spi_drv_probe+0x18/0x1c) from [&lt;c028bca4&gt;](driver_probe_device+0xc8/0x184)
[&lt;c028bca4&gt;] (driver_probe_device+0xc8/0x184) from [&lt;c028bdc8&gt;](__driver_attach+0x68/0x8c)
[&lt;c028bdc8&gt;] (__driver_attach+0x68/0x8c) from [&lt;c028b4c8&gt;](bus_for_each_dev+0x48/0x74)
[&lt;c028b4c8&gt;] (bus_for_each_dev+0x48/0x74) from [&lt;c028ae08&gt;](bus_add_driver+0xa0/0x220)
[&lt;c028ae08&gt;] (bus_add_driver+0xa0/0x220) from [&lt;c028c0c0&gt;](driver_register+0xa8/0x134)
[&lt;c028c0c0&gt;] (driver_register+0xa8/0x134) from [&lt;c0050550&gt;](do_one_initcall+0xcc/0x1a4)
[&lt;c0050550&gt;] (do_one_initcall+0xcc/0x1a4) from [&lt;c00084e4&gt;](kernel_init+0x14c/0x214)
[&lt;c00084e4&gt;] (kernel_init+0x14c/0x214) from [&lt;c005b494&gt;](kernel_thread_exit+0x0/0x8)
---[ end trace 4053287f8a5ec18f ]---

Also rearrange ads7846_setup_pendown() to have only one exit point
returning success.

Reported-by: Sourav Poddar &lt;sourav.poddar@ti.com&gt;
Acked-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Reviewed-by: Charulatha V &lt;charu@ti.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm/ixp4xx: Rename FREQ macro to avoid collisions</title>
<updated>2011-02-06T15:49:48+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2010-12-11T20:17:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e66a022a80d73b1a5d2e02c9db2c42e8b9853b40'/>
<id>e66a022a80d73b1a5d2e02c9db2c42e8b9853b40</id>
<content type='text'>
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 &lt;ben@decadent.org.uk&gt;
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;ben@decadent.org.uk&gt;
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Input: do not pass injected events back to the originating handler"</title>
<updated>2011-02-03T07:04:27+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2011-02-03T07:04:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9ae4345a46bdb148e32a547e89ff29563a11e127'/>
<id>9ae4345a46bdb148e32a547e89ff29563a11e127</id>
<content type='text'>
This reverts commit 5fdbe44d033d059cc56c2803e6b4dbd8cb4e5e39.

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: Kristen Carlson Accardi &lt;kristen@linux.intel.com&gt;
Cc: stable@kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 5fdbe44d033d059cc56c2803e6b4dbd8cb4e5e39.

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: Kristen Carlson Accardi &lt;kristen@linux.intel.com&gt;
Cc: stable@kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: serio - clear pending rescans after sysfs driver rebind</title>
<updated>2011-02-03T07:01:52+00:00</updated>
<author>
<name>Duncan Laurie</name>
<email>dlaurie@chromium.org</email>
</author>
<published>2011-02-03T06:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=19e955415398687b79fbf1c072a84c9874b8d576'/>
<id>19e955415398687b79fbf1c072a84c9874b8d576</id>
<content type='text'>
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: Duncan Laurie &lt;dlaurie@chromium.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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: Duncan Laurie &lt;dlaurie@chromium.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: rotary_encoder - use proper irqflags</title>
<updated>2011-02-03T07:01:00+00:00</updated>
<author>
<name>Alexander Stein</name>
<email>alexander.stein@informatik.tu-chemnitz.de</email>
</author>
<published>2011-02-03T06:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e0d5f4c31d4769b8574dfd8c61a1f753f7cfbc2f'/>
<id>e0d5f4c31d4769b8574dfd8c61a1f753f7cfbc2f</id>
<content type='text'>
IORESOURCE_IRQ_* is wrong for irq_request, use the correct IRQF_* instead.

Signed-off-by: Alexander Stein &lt;alexander.stein@informatik.tu-chemnitz.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IORESOURCE_IRQ_* is wrong for irq_request, use the correct IRQF_* instead.

Signed-off-by: Alexander Stein &lt;alexander.stein@informatik.tu-chemnitz.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom_w8001 - report resolution to userland</title>
<updated>2011-02-01T05:32:24+00:00</updated>
<author>
<name>Ping Cheng</name>
<email>pinglinux@gmail.com</email>
</author>
<published>2011-02-01T05:06:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=28a1bc1c0a5a15e72afae1050b227761227b6af2'/>
<id>28a1bc1c0a5a15e72afae1050b227761227b6af2</id>
<content type='text'>
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: Ping Cheng &lt;pingc@wacom.com&gt;
Reviewed-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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: Ping Cheng &lt;pingc@wacom.com&gt;
Reviewed-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input</title>
<updated>2011-01-31T03:02:34+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-01-31T03:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1ca05b7fc2672ea870bd58f45dc8d36d2b980f94'/>
<id>1ca05b7fc2672ea870bd58f45dc8d36d2b980f94</id>
<content type='text'>
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: synaptics - retry failed resets when reconnecting
  Input: synaptics - fix reconnect logic on MT devices
  Input: tegra-kbc - fix keymap entry for LeftMeta key
  Input: tegra-kbc - fix build error
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: synaptics - retry failed resets when reconnecting
  Input: synaptics - fix reconnect logic on MT devices
  Input: tegra-kbc - fix keymap entry for LeftMeta key
  Input: tegra-kbc - fix build error
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: synaptics - retry failed resets when reconnecting</title>
<updated>2011-01-29T06:32:07+00:00</updated>
<author>
<name>Alexandre Peixoto Ferreira</name>
<email>alexandref75@gmail.com</email>
</author>
<published>2011-01-29T06:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c63fe0a41fd2374be0ebe93c053820a0eed9cefe'/>
<id>c63fe0a41fd2374be0ebe93c053820a0eed9cefe</id>
<content type='text'>
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: Alexandre Peixoto Ferreira &lt;alexandref75@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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: Alexandre Peixoto Ferreira &lt;alexandref75@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
</feed>
