<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/input/touchscreen/zforce_ts.c, branch v4.1</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Input: touchscreen - use __maybe_unused instead of ifdef around suspend/resume</title>
<updated>2014-11-02T07:10:07+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2014-11-02T07:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=02b6a58b83b2f3d97addaf96ef60ad6596bf715f'/>
<id>02b6a58b83b2f3d97addaf96ef60ad6596bf715f</id>
<content type='text'>
Use __maybe_unused instead of ifdef guards around suspend/resume
functions, in order to increase build coverage and fix build warnings.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use __maybe_unused instead of ifdef guards around suspend/resume
functions, in order to increase build coverage and fix build warnings.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=3974037039e925a9645e70e1dc91735d28faad95'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=f3f6319352f1c27dfecb47a95538ef209820c84f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=04421fe2671c1790ab6529fad87ce8c73af0e1eb'/>
<id>04421fe2671c1790ab6529fad87ce8c73af0e1eb</id>
<content type='text'>
Merge with Linux 3.14-rc4 to bring devm_request_any_context_irq().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge with Linux 3.14-rc4 to bring devm_request_any_context_irq().
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=6f2e6c9b451b907b693b7fe3db3792e57796ffea'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=8727336481a231ee986c214dde06338e7e52624c'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=d333b6062f1414622d1fe37314fa2ec9e3df402d'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=5aee41a60c4d53f65918c1ec0ab94c245f2c08af'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=ad697b96e67dc34ef69e3358c331c69dcd283c0d'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=deb4981985ff2626a449cdeff2beaeb21986cfce'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
</feed>
