Re: [PATCH 2/2] input: synaptics - fix width calculation on image sensors

2015-01-05 Thread Benjamin Tissoires
Hi Gabriele, On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta gabriele@gmail.com wrote: When two or more fingers are on the touchpad, the 'w' slot holds the finger count rather than the width. Retrieve the correct value encoded in the lower bits of 'x', 'y' and 'z'. The minimum width

Re: [PATCH 2/2] input: synaptics - fix width calculation on image sensors

2015-01-05 Thread Benjamin Tissoires
On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta gabriele@gmail.com wrote: On Monday 05 January 2015 13:25:38 Benjamin Tissoires wrote: Hi Gabriele, On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta gabriele@gmail.com wrote: When two or more fingers are on the touchpad, the 'w'

Re: [PATCH 2/2] input: synaptics - fix width calculation on image sensors

2015-01-05 Thread Dmitry Torokhov
On January 5, 2015 10:42:13 AM PST, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta gabriele@gmail.com wrote: On Monday 05 January 2015 13:25:38 Benjamin Tissoires wrote: Hi Gabriele, On Sat, Dec 27, 2014 at 6:31 AM, Gabriele

Re: [PATCH 2/2] input: synaptics - fix width calculation on image sensors

2015-01-05 Thread Benjamin Tissoires
On Mon, Jan 5, 2015 at 2:04 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On January 5, 2015 10:42:13 AM PST, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta gabriele@gmail.com wrote: On Monday 05 January 2015 13:25:38

Re: [PATCH 2/2] input: synaptics - fix width calculation on image sensors

2015-01-05 Thread Gabriele Mazzotta
On Monday 05 January 2015 11:04:07 Dmitry Torokhov wrote: On January 5, 2015 10:42:13 AM PST, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta gabriele@gmail.com wrote: On Monday 05 January 2015 13:25:38 Benjamin Tissoires wrote:

Re: [PATCH 2/2] input: synaptics - fix width calculation on image sensors

2015-01-05 Thread Benjamin Tissoires
On Mon, Jan 5, 2015 at 2:15 PM, Gabriele Mazzotta gabriele@gmail.com wrote: On Monday 05 January 2015 11:04:07 Dmitry Torokhov wrote: On January 5, 2015 10:42:13 AM PST, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta

[PATCH 2/2] input: synaptics - fix width calculation on image sensors

2014-12-27 Thread Gabriele Mazzotta
When two or more fingers are on the touchpad, the 'w' slot holds the finger count rather than the width. Retrieve the correct value encoded in the lower bits of 'x', 'y' and 'z'. The minimum width reported is 8 rather than 4 in this case, while the maximum remains 15. Signed-off-by: Gabriele