On Mon, Aug 25, 2014 at 03:40:08PM +0200, Javier Martinez Canillas wrote: > From: Todd Broch <tbroch@xxxxxxxxxxxx> > > 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 <tbroch@xxxxxxxxxxxx> > Reviewed-by: Vincent Palatin <vpalatin@xxxxxxxxxxxx> > Reviewed-by: Luigi Semenzato <semenzato@xxxxxxxxxxxx> > Tested-by: Andreas Färber <afaerber@xxxxxxx> > Signed-off-by: Javier Martinez Canillas <javier.martinez@xxxxxxxxxxxxxxx> Applied, thank you. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html