<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/input/input.c, branch v3.18.40</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.18.40</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.18.40'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2014-10-09T22:27:24Z</updated>
<entry>
<title>Input: avoid negative input device numbers</title>
<updated>2014-10-09T22:27:24Z</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2014-10-08T21:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bf1d50fa74df0339c925aa7e2ff9de60a42c30be'/>
<id>urn:sha1:bf1d50fa74df0339c925aa7e2ff9de60a42c30be</id>
<content type='text'>
Fix the format string for input device name generation to avoid negative
device numbers when the id exceeds the maximum signed integer value.

Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: automatically set EV_ABS bit in input_set_abs_params</title>
<updated>2014-10-08T18:06:12Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2014-10-08T16:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2c9a9cfec04f2c6ed7b4e607cd53ca903b2c4642'/>
<id>urn:sha1:2c9a9cfec04f2c6ed7b4e607cd53ca903b2c4642</id>
<content type='text'>
Let's automatically set EV_ABS bit in device's event type list when calling
input_set_abs_params() so that drivers do not have to do it explicitly.

These calls are never in a hot paths so we won't lose much time by setting
the same bit several times.

Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: fix defuzzing logic</title>
<updated>2014-07-20T20:17:42Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor@chromium.org</email>
</author>
<published>2014-07-19T23:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=50c5d36dab930b1f1b1e3348b8608aa8b9ee7610'/>
<id>urn:sha1:50c5d36dab930b1f1b1e3348b8608aa8b9ee7610</id>
<content type='text'>
We attempt to remove noise from coordinates reported by devices in
input_handle_abs_event(), unfortunately, unless we were dropping the
event altogether, we were ignoring the adjusted value and were passing
on the original value instead.

Cc: stable@vger.kernel.org
Reviewed-by: Andrew de los Reyes &lt;adlr@chromium.org&gt;
Reviewed-by: Benson Leung &lt;bleung@chromium.org&gt;
Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Reviewed-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'next' into for-linus</title>
<updated>2014-01-23T16:10:44Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2014-01-23T16:10:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=55df811f2066fcaec2548248f0a1a6a0c12dc6b8'/>
<id>urn:sha1:55df811f2066fcaec2548248f0a1a6a0c12dc6b8</id>
<content type='text'>
First round of input updates for 3.14.
</content>
</entry>
<entry>
<title>Input: allocate absinfo data when setting ABS capability</title>
<updated>2013-12-31T18:53:19Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2013-12-27T01:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=28a2a2e1aedbe2d8b2301e6e0e4e63f6e4177aca'/>
<id>urn:sha1:28a2a2e1aedbe2d8b2301e6e0e4e63f6e4177aca</id>
<content type='text'>
We need to make sure we allocate absinfo data when we are setting one of
EV_ABS/ABS_XXX capabilities, otherwise we may bomb when we try to emit this
event.

Rested-by: Paul Cercueil &lt;pcercuei@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: don't call input_dev_release_keys() in resume</title>
<updated>2013-12-16T10:19:10Z</updated>
<author>
<name>Aleksej Makarov</name>
<email>aleksej.makarov@sonymobile.com</email>
</author>
<published>2013-11-23T18:20:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=768d9aa55740754aa4efb8aca594e3841237dd88'/>
<id>urn:sha1:768d9aa55740754aa4efb8aca594e3841237dd88</id>
<content type='text'>
When waking up the platform by pressing a specific key, sending a
release on that key makes it impossible to react on the event in
user-space. This is fixed by moving the input_reset_device() call to
resume instead.

[dmitry.torokhov@gmail.com: make sure we still restore LED/sound state
after resume, handle hibernation properly]

Signed-off-by: Aleksej Makarov &lt;aleksej.makarov@sonymobile.com&gt;
Signed-off-by: Oskar Andero &lt;oskar.andero@sonymobile.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'next' into for-linus</title>
<updated>2013-11-15T01:38:05Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2013-11-15T01:38:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=42249094f79422fbf5ed4b54eeb48ff096809b8f'/>
<id>urn:sha1:42249094f79422fbf5ed4b54eeb48ff096809b8f</id>
<content type='text'>
Merge first round of changes for 3.13 merge window.
</content>
</entry>
<entry>
<title>Input: remove a redundant max() call</title>
<updated>2013-10-31T15:46:07Z</updated>
<author>
<name>Kang Hu</name>
<email>hukangustc@gmail.com</email>
</author>
<published>2013-10-31T07:47:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=95079b8aa84015dc9032e42a1844dd78f76c3d2f'/>
<id>urn:sha1:95079b8aa84015dc9032e42a1844dd78f76c3d2f</id>
<content type='text'>
dev-&gt;hint_events_per_packet is guaranteed to be &gt;= packet_size.
so an extra max() call is not needed.

Signed-off-by: Kang Hu &lt;hukangustc@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: move name/timer init to input_alloc_dev()</title>
<updated>2013-10-06T08:23:26Z</updated>
<author>
<name>David Herrmann</name>
<email>dh.herrmann@gmail.com</email>
</author>
<published>2013-10-06T08:15:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a60a71b035e4d2f4920ef091265b1474a14ab313'/>
<id>urn:sha1:a60a71b035e4d2f4920ef091265b1474a14ab313</id>
<content type='text'>
We want to allow drivers to call input_event() at any time after the
device got allocated. This means input_event() and input_register_device()
must be allowed to run in parallel.

The only conflicting calls in input_register_device() are init_timer() and
dev_set_name(). Both can safely be moved to device allocation and we're
good to go.

Signed-off-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: document that unregistering managed devices is not necessary</title>
<updated>2013-01-09T17:07:56Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2013-01-08T17:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b666263b71cb1f3b96fb79e69de7f119062b0da2'/>
<id>urn:sha1:b666263b71cb1f3b96fb79e69de7f119062b0da2</id>
<content type='text'>
Apparently some users of managed input devices are confused whether
input_unregister_device() is needed when working with them. Clarify
this in the kernel doc for devm_input_allocate_device(): in most cases
there is no need to call neither input_unregister_device() nor
input_free_device() when working with managed devices.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
</feed>
