<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/input/touchscreen/zforce_ts.c, branch v3.18.94</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v3.18.94</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v3.18.94'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-07-12T12:48:03+00:00</updated>
<entry>
<title>Input: zforce_ts - fix dual touch recognition</title>
<updated>2016-07-12T12:48:03+00:00</updated>
<author>
<name>Knut Wohlrab</name>
<email>Knut.Wohlrab@de.bosch.com</email>
</author>
<published>2016-04-25T21:08:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5bb34c8e8e31b08a3027f5ef072ee950073dd20e'/>
<id>urn:sha1:5bb34c8e8e31b08a3027f5ef072ee950073dd20e</id>
<content type='text'>
[ Upstream commit 6984ab1ab35f422292b7781c65284038bcc0f6a6 ]

A wrong decoding of the touch coordinate message causes a wrong touch
ID. Touch ID for dual touch must be 0 or 1.

According to the actual Neonode nine byte touch coordinate coding,
the state is transported in the lower nibble and the touch ID in
the higher nibble of payload byte five.

Signed-off-by: Knut Wohlrab &lt;Knut.Wohlrab@de.bosch.com&gt;
Signed-off-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
Signed-off-by: Dirk Behme &lt;dirk.behme@de.bosch.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>Input: zforce - add regulator handling</title>
<updated>2014-07-21T17:28:53+00:00</updated>
<author>
<name>Heiko Stuebner</name>
<email>heiko.stuebner@bq.com</email>
</author>
<published>2014-07-21T17:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3974037039e925a9645e70e1dc91735d28faad95'/>
<id>urn:sha1:3974037039e925a9645e70e1dc91735d28faad95</id>
<content type='text'>
It's possible that the controller has an individually switchable power supply.
Therefore add support to control a supplying regulator.

As this is not always the case, the regulator is requested as optional.

Signed-off-by: Heiko Stuebner &lt;heiko.stuebner@bq.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: zforce - make of_device_id array const</title>
<updated>2014-05-14T23:40:01+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2014-05-07T20:10:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f3f6319352f1c27dfecb47a95538ef209820c84f'/>
<id>urn:sha1:f3f6319352f1c27dfecb47a95538ef209820c84f</id>
<content type='text'>
Make of_device_id array const, because all OF functions handle it as const.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Acked-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v3.14-rc4' into next</title>
<updated>2014-03-01T18:31:53+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2014-03-01T18:31:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=04421fe2671c1790ab6529fad87ce8c73af0e1eb'/>
<id>urn:sha1:04421fe2671c1790ab6529fad87ce8c73af0e1eb</id>
<content type='text'>
Merge with Linux 3.14-rc4 to bring devm_request_any_context_irq().
</content>
</entry>
<entry>
<title>Input: zforce - add devicetree support</title>
<updated>2014-01-28T06:35:42+00:00</updated>
<author>
<name>Heiko Stübner</name>
<email>heiko.stuebner@bqreaders.com</email>
</author>
<published>2014-01-27T20:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6f2e6c9b451b907b693b7fe3db3792e57796ffea'/>
<id>urn:sha1:6f2e6c9b451b907b693b7fe3db3792e57796ffea</id>
<content type='text'>
This makes the zforce driver usable on devicetree-based platforms too.

Signed-off-by: Heiko Stuebner &lt;heiko.stuebner@bqreaders.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: zforce - use internal pdata pointer instead of dev_get_platdata</title>
<updated>2014-01-28T06:35:18+00:00</updated>
<author>
<name>Heiko Stübner</name>
<email>heiko.stuebner@bqreaders.com</email>
</author>
<published>2014-01-27T20:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8727336481a231ee986c214dde06338e7e52624c'/>
<id>urn:sha1:8727336481a231ee986c214dde06338e7e52624c</id>
<content type='text'>
Devicetree support will be creating its own platfprm data structure that
is not attached to the device. Let's use the internal pointer to the
pdata instead of re-fetching it with dev_get_platdata().

Signed-off-by: Heiko Stuebner &lt;heiko.stuebner@bqreaders.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: zforce - reduce stack memory allocated to frames</title>
<updated>2014-01-28T06:35:17+00:00</updated>
<author>
<name>Luis Ortega</name>
<email>luiorpe1@upv.es</email>
</author>
<published>2014-01-27T20:28:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d333b6062f1414622d1fe37314fa2ec9e3df402d'/>
<id>urn:sha1:d333b6062f1414622d1fe37314fa2ec9e3df402d</id>
<content type='text'>
A frame is a u8 array with the following structure:
[PAYLOAD_HEADER, PAYLOAD_LENGTH, ...PAYLOAD_BODY...]

PAYLOAD_BODY can be at most 255 bytes long, as it's size is represented
by PAYLOAD_LENGTH. Therefore we can reduce the stack memory allocated to
payload_buffer[] roughly by half, from 512 to 257 bytes.

Signed-off-by: Luis Ortega &lt;luiorpe1@upv.es&gt;
Acked-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Tested-by: Heiko Stuebner &lt;heiko@sntech.de&gt; - bq Cervantes (imx6sl)
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: zforce - remove unnecessary payload data checks</title>
<updated>2014-01-28T06:35:17+00:00</updated>
<author>
<name>Luis Ortega</name>
<email>luiorpe1@upv.es</email>
</author>
<published>2014-01-27T20:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5aee41a60c4d53f65918c1ec0ab94c245f2c08af'/>
<id>urn:sha1:5aee41a60c4d53f65918c1ec0ab94c245f2c08af</id>
<content type='text'>
The function zforce_read_packet() reads 2 values (bytes) of payload
header, validates them and then proceeds to read the payload body.
The function stores all these in a u8 buffer.

The PAYLOAD_LENGTH check seems to be trying to detect an overflow error.
However, since we are just reading a u8 value from the buffer, these
checks are unnecessary and we should simply compare against zero.

Signed-off-by: Luis Ortega &lt;luiorpe1@upv.es&gt;
Acked-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Tested-by: Heiko Stuebner &lt;heiko@sntech.de&gt; - bq Cervantes (imx6sl)
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: zforce - fix lines exceeding 80 columns</title>
<updated>2014-01-28T06:35:16+00:00</updated>
<author>
<name>Luis Ortega</name>
<email>luiorpe1@upv.es</email>
</author>
<published>2014-01-27T20:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ad697b96e67dc34ef69e3358c331c69dcd283c0d'/>
<id>urn:sha1:ad697b96e67dc34ef69e3358c331c69dcd283c0d</id>
<content type='text'>
Fixed lines exceeding 80 characters long wherever possible,
as per the coding style.

Signed-off-by: Luis Ortega &lt;luiorpe1@upv.es&gt;
Acked-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: zforce - fix spelling errors</title>
<updated>2014-01-28T06:35:00+00:00</updated>
<author>
<name>Luis Ortega</name>
<email>luiorpe1@upv.es</email>
</author>
<published>2014-01-27T20:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=deb4981985ff2626a449cdeff2beaeb21986cfce'/>
<id>urn:sha1:deb4981985ff2626a449cdeff2beaeb21986cfce</id>
<content type='text'>
Fixed a few spelling errors.

Signed-off-by: Luis Ortega &lt;luiorpe1@upv.es&gt;
Acked-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
</feed>
