<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/input/mouse/sentelic.c, branch v4.9.331</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.9.331</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.9.331'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2020-08-21T09:02:10+00:00</updated>
<entry>
<title>Input: sentelic - fix error return when fsp_reg_write fails</title>
<updated>2020-08-21T09:02:10+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2020-08-06T22:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ba25f41e747d0ae1d1c33ddd8522c82e3478de3e'/>
<id>urn:sha1:ba25f41e747d0ae1d1c33ddd8522c82e3478de3e</id>
<content type='text'>
[ Upstream commit ea38f06e0291986eb93beb6d61fd413607a30ca4 ]

Currently when the call to fsp_reg_write fails -EIO is not being returned
because the count is being returned instead of the return value in retval.
Fix this by returning the value in retval instead of count.

Addresses-Coverity: ("Unused value")
Fixes: fc69f4a6af49 ("Input: add new driver for Sentelic Finger Sensing Pad")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Link: https://lore.kernel.org/r/20200603141218.131663-1-colin.king@canonical.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>Input: sentelic - silence some underflow warnings</title>
<updated>2015-08-21T16:32:59+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2015-08-21T16:29:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9c8f55798a9d716daed4de6d7038a21c3ca6e673'/>
<id>urn:sha1:9c8f55798a9d716daed4de6d7038a21c3ca6e673</id>
<content type='text'>
I have a static checker that complains when we check for an upper bound
but don't have a corresponding check for a lower bound.  With this code,
the upper bound check seems not really required, so it is not a bug to
leave the lower bound check out as well.  But let's silence the warning
by making these variables unsigned.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: sentelic - only report position of first finger as ST coordinates</title>
<updated>2012-12-24T17:51:21+00:00</updated>
<author>
<name>Christophe TORDEUX</name>
<email>christophe@tordeux.net</email>
</author>
<published>2012-12-24T17:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a25461659050b913e114d282bf58823682eb56b6'/>
<id>urn:sha1:a25461659050b913e114d282bf58823682eb56b6</id>
<content type='text'>
Report only the position of the first finger as absolute non-MT coordinates,
instead of reporting both fingers alternatively. Actual MT events are
unaffected.

This fixes horizontal and improves vertical scrolling with the touchpad.

Cc: stable@vger.kernel.org
Signed-off-by: Christophe TORDEUX &lt;christophe@tordeux.net&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'next' into for-linus</title>
<updated>2012-10-11T07:45:21+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2012-10-11T07:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0cc8d6a9d23d6662da91eeb6bb8e7d1c559850f0'/>
<id>urn:sha1:0cc8d6a9d23d6662da91eeb6bb8e7d1c559850f0</id>
<content type='text'>
Prepare second set of updates for 3.7 merge window (Wacom driver update
and patches extending number of input minors).
</content>
</entry>
<entry>
<title>Input: sentelic - filter out erratic movement when lifting finger</title>
<updated>2012-09-19T21:58:07+00:00</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@sentelic.com</email>
</author>
<published>2012-09-19T18:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=30ebb7fa0e3e92145b859ad6e44aa6dc636b4103'/>
<id>urn:sha1:30ebb7fa0e3e92145b859ad6e44aa6dc636b4103</id>
<content type='text'>
When lifing finger off the surface some versions of touchpad send movement
packets with very low coordinates, which cause cursor to jump to the upper
left corner of the screen. Let's ignore least significant bits of X and Y
coordinates if higher bits are all zeroes and consider finger not touching
the pad.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43197
Reported-and-tested-by:	Aleksey Spiridonov &lt;leks13@leks13.ru&gt;
Tested-by: Eddie Dunn &lt;eddie.dunn@gmail.com&gt;
Tested-by: Jakub Luzny &lt;limoto94@gmail.com&gt;
Tested-by: Olivier Goffart &lt;olivier@woboq.com&gt;
Signed-off-by: Tai-hwa Liang &lt;avatar@sentelic.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: MT - Add flags to input_mt_init_slots()</title>
<updated>2012-09-19T17:50:18+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@euromail.se</email>
</author>
<published>2012-08-11T20:07:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b4adbbefc2099476a4f1020041c99f52cf3cd67d'/>
<id>urn:sha1:b4adbbefc2099476a4f1020041c99f52cf3cd67d</id>
<content type='text'>
Preparing to move more repeated code into the mt core, add a flags
argument to the input_mt_slots_init() function.

Reviewed-and-tested-by: Benjamin Tissoires &lt;benjamin.tissoires@enac.fr&gt;
Tested-by: Ping Cheng &lt;pingc@wacom.com&gt;
Acked-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
<entry>
<title>Input: sentelic - report device's production serial number</title>
<updated>2012-05-11T03:39:04+00:00</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@sentelic.com</email>
</author>
<published>2012-05-07T15:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d3132c5c95507d570987712d037d184c637171bb'/>
<id>urn:sha1:d3132c5c95507d570987712d037d184c637171bb</id>
<content type='text'>
Hardware since Cx supports an unique identity (used to identify OEM vendors
and released lot number) which is very helpful for diagnostic purpose.
This revision tries to make it as a part of driver boot up message.

Whilst here, also bumping fsp_drv_ver to acknowledge recent addition of
absolute coordinates output.

Signed-off-by: Tai-hwa Liang &lt;avatar@sentelic.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: sentelic - filter taps in absolute mode</title>
<updated>2012-04-03T16:55:51+00:00</updated>
<author>
<name>Oskari Saarenmaa</name>
<email>os@ohmu.fi</email>
</author>
<published>2012-04-03T16:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d626dad58f02e13730ded6ac84d6a9e53123f0e8'/>
<id>urn:sha1:d626dad58f02e13730ded6ac84d6a9e53123f0e8</id>
<content type='text'>
Taps in absolute positioning single-finger mode are currently reported
as physical clicks by the driver. This should be handled by userspace,
not the kernel.

When a tap occurs, the FSP_PB0_LBTN bit is set, but the FSP_PB0_PHY_BTN
is not. We use this to filter out physical clicks from taps.

Signed-off-by: Oskari Saarenmaa &lt;os@ohmu.fi&gt;
Reviewed-by: Tai-hwa Liang &lt;avatar@sentelic.com&gt;
Reviewed-by: Chase Douglas &lt;chase.douglas@canonical.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: sentelic - improve packet debugging information</title>
<updated>2012-03-26T00:18:18+00:00</updated>
<author>
<name>Oskari Saarenmaa</name>
<email>os@ohmu.fi</email>
</author>
<published>2012-03-26T00:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=727f9b480754dfcb82e36d431e85984893011b79'/>
<id>urn:sha1:727f9b480754dfcb82e36d431e85984893011b79</id>
<content type='text'>
Signed-off-by: Oskari Saarenmaa &lt;os@ohmu.fi&gt;
Signed-off-by: Tai-hwa Liang &lt;avatar@sentelic.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: sentelic - minor code cleanup</title>
<updated>2012-03-26T00:18:15+00:00</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@sentelic.com</email>
</author>
<published>2012-03-26T00:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7b85f73d0461188aa397d428e6c53419ebfd86b4'/>
<id>urn:sha1:7b85f73d0461188aa397d428e6c53419ebfd86b4</id>
<content type='text'>
Improve code readability by converting yet another magic number into a
pre-defined constant.

Signed-off-by: Tai-hwa Liang &lt;avatar@sentelic.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
</feed>
