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 wrote: > On Monday 05 January 2015 11:04:07 Dmitry Torokhov wrote: >> On January 5, 2015 10:42:13 AM PST, Benjamin Tissoires >> wrote: >> >On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta >> > wrote: >> >> On Monday 05 January 2015 13:25:38 Benj

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 > wrote: > >On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta > > wrote: > >> On Monday 05 January 2015 13:25:38 Benjamin Tissoires wrote: > >>> Hi Gabriele, > >>> > >>> On Sat, Dec

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 wrote: > On January 5, 2015 10:42:13 AM PST, Benjamin Tissoires > wrote: >>On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta >> wrote: >>> On Monday 05 January 2015 13:25:38 Benjamin Tissoires wrote: Hi Gabriele, On Sat, Dec 27, 2014

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 wrote: >On Mon, Jan 5, 2015 at 1:37 PM, Gabriele Mazzotta > 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 >>> wrote: >>> > When two or more

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 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 >> wrote: >> > When two or more fingers are on the touchpad, the 'w' slot holds the >> > finger count ra

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

2015-01-05 Thread Gabriele Mazzotta
On Monday 05 January 2015 13:25:38 Benjamin Tissoires wrote: > Hi Gabriele, > > On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta > 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 th

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 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 reported is 8 rathe

[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 Mazz