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

2014-08-20 Thread Javier Martinez Canillas
From: Todd Broch tbr...@chromium.org 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.

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

2014-07-29 Thread Andreas Färber
Am 28.07.2014 14:19, schrieb Javier Martinez Canillas: From: Todd Broch tbr...@chromium.org 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

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

2014-07-28 Thread Javier Martinez Canillas
From: Todd Broch tbr...@chromium.org 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.