Thread (2 messages) flat view 2 messages, 2 authors, 2014-09-04

Re: [PATCH v2 7/7] Input: cros_ec_keyb: Optimize ghosting algorithm.

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2014-09-04 00:06:43
Also in: linux-i2c, linux-samsung-soc

On Mon, Aug 25, 2014 at 03:40:08PM +0200, Javier Martinez Canillas wrote:
From: Todd Broch <redacted>

Previous algorithm was a bit conservative and complicating with
respect to identifying key ghosting.  This CL uses the bitops hamming
weight function (hweight8) to count the number of matching rows for
colM & colN.  If that number is > 1 ghosting is present.

Additionally it removes NULL keys and our one virtual keypress
KEY_BATTERY from consideration as these inputs are never physical
keypresses.

Signed-off-by: Todd Broch <redacted>
Reviewed-by: Vincent Palatin <redacted>
Reviewed-by: Luigi Semenzato <redacted>
Tested-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Javier Martinez Canillas <redacted>
Applied, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help