<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/input/input.c, branch v4.2.2</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.2.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.2.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2015-06-25T21:44:36Z</updated>
<entry>
<title>Input: use for_each_set_bit() where appropriate</title>
<updated>2015-06-25T21:44:36Z</updated>
<author>
<name>Anshul Garg</name>
<email>aksgarg1989@gmail.com</email>
</author>
<published>2015-06-25T20:33:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3e2b03dad54bbcab5be948629a644d55ce7b5a2e'/>
<id>urn:sha1:3e2b03dad54bbcab5be948629a644d55ce7b5a2e</id>
<content type='text'>
Instead of iterating over all bits in a bitmap and test them individually
let's siwtch to for_each_set_bit() which is more compact and is also
faster.

Also use bitmap_weight() when counting number of set bits.

This also fixes INPUT_DO_TOGGLE() implementation as it should have used
*_CNT as the upper boundary, not *_MAX.

Signed-off-by: Anshul Garg &lt;aksgarg1989@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: fix typo in comment to input_handler_for_each_handle()</title>
<updated>2015-05-20T21:45:41Z</updated>
<author>
<name>Shailendra Verma</name>
<email>shailendra.capricorn@gmail.com</email>
</author>
<published>2015-05-18T17:44:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ec8beff9647897659df5e1ad120a00cfc8c7a98e'/>
<id>urn:sha1:ec8beff9647897659df5e1ad120a00cfc8c7a98e</id>
<content type='text'>
Signed-off-by: Shailendra Verma &lt;shailendra.capricorn@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: do not try to filter out events if handler is not a filter</title>
<updated>2015-01-08T21:53:34Z</updated>
<author>
<name>Anshul Garg</name>
<email>aksgarg1989@gmail.com</email>
</author>
<published>2015-01-08T21:47:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2c50ad340c246b7f58f2d916006afe2d85d60698'/>
<id>urn:sha1:2c50ad340c246b7f58f2d916006afe2d85d60698</id>
<content type='text'>
If given input handler is not a filter there is no point is iterating list
of events in a packet to see if some of them need to be filtered out.

Signed-off-by: Anshul Garg &lt;anshul.g@samsung.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: small tweak to autorepeat handling</title>
<updated>2015-01-08T21:53:30Z</updated>
<author>
<name>Anshul Garg</name>
<email>aksgarg1989@gmail.com</email>
</author>
<published>2015-01-08T21:41:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5ab17145708e6ad4582b0372fb3a171be3379293'/>
<id>urn:sha1:5ab17145708e6ad4582b0372fb3a171be3379293</id>
<content type='text'>
If a device does not support autorepeat or does not emit any key events we
should not be scanning all events in a packet to decide if we should start
or stop autorepeat function.

Signed-off-by: Anshul Garg &lt;anshul.g@samsung.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: optimize events_per_packet count calculation</title>
<updated>2014-12-16T05:45:55Z</updated>
<author>
<name>Anshul Garg</name>
<email>anshul.g@samsung.com</email>
</author>
<published>2014-12-13T19:58:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=baf332c0f1cede26e9c2af6276b36b4c3a36e34a'/>
<id>urn:sha1:baf332c0f1cede26e9c2af6276b36b4c3a36e34a</id>
<content type='text'>
This patch avoids unnecessary operations while estimating events per
packet for an input device when event type is not set.

Signed-off-by: Anshul Garg &lt;anshul.g@samsung.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: initialize input_no to -1 to avoid subtraction</title>
<updated>2014-12-03T05:34:49Z</updated>
<author>
<name>Aniroop Mathur</name>
<email>aniroop.mathur@gmail.com</email>
</author>
<published>2014-12-02T23:22:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9c7d66fa9bb21ef89c6acdd0cf536eb84e760d8b'/>
<id>urn:sha1:9c7d66fa9bb21ef89c6acdd0cf536eb84e760d8b</id>
<content type='text'>
Let's initializes input_no to -1 in order to avoid extra subtraction
operation performed every time we allocate an input device.

Signed-off-by: Aniroop Mathur &lt;aniroop.mathur@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<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>
</feed>
