<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hid/hid-alps.c, branch linux-5.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-05-30T18:26:32Z</updated>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
<updated>2019-05-30T18:26:32Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-27T06:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2874c5fd284268364ece81a7bd936f3c8168e567'/>
<id>urn:sha1:2874c5fd284268364ece81a7bd936f3c8168e567</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 3029 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>HID: alps: allow incoming reports when only the trackstick is opened</title>
<updated>2018-10-26T15:27:13Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2018-10-12T14:05:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7dd8db68949a7acc5bd528ee0ecb8f8720f49921'/>
<id>urn:sha1:7dd8db68949a7acc5bd528ee0ecb8f8720f49921</id>
<content type='text'>
If userspace only reads the trackstick node, and no one is listening to
the touchpad nor the hidraw node then, the device is not powered on.

Add open/close callbacks to allow users to disable the touchpad in Gnome
while keeping the trackstick active.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1559632
Link: https://gitlab.gnome.org/GNOME/mutter/issues/128
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: alps: Fix some style in 't4_read_write_register()'</title>
<updated>2018-04-26T12:33:35Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2018-03-19T20:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a317e559574b2af62095b39792d168cb98cb2561'/>
<id>urn:sha1:a317e559574b2af62095b39792d168cb98cb2561</id>
<content type='text'>
Better indent the code to improve readability.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: alps: Check errors returned by 't4_read_write_register()'</title>
<updated>2018-04-26T12:33:35Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2018-03-19T20:53:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69934012f394d1db11c3c0c781fd88b6ae447dbe'/>
<id>urn:sha1:69934012f394d1db11c3c0c781fd88b6ae447dbe</id>
<content type='text'>
If only the first 't4_read_write_register()' call fails, the error code
will be overwritten and lost.
Directly report the error instead.

While at it, log some errors if 't4_read_write_register()' fails, as done
in the rest of the driver.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: alps: Save a memory allocation in 't4_read_write_register()' when writing data</title>
<updated>2018-04-26T12:33:35Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2018-03-19T20:53:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edb6cb3d7c9026d1a3bdfde9f74ed6c807285206'/>
<id>urn:sha1:edb6cb3d7c9026d1a3bdfde9f74ed6c807285206</id>
<content type='text'>
if 'read_flag' is false, there is no need to allocate and free memory.
We can simply avoid the memory allocation and pass NULL to kfree.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: alps: Report an error if we receive invalid data in 't4_read_write_register()'</title>
<updated>2018-04-26T12:33:35Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2018-03-19T20:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=605f077290a594c75a952ad3b78e53d68c1895ae'/>
<id>urn:sha1:605f077290a594c75a952ad3b78e53d68c1895ae</id>
<content type='text'>
If the data received is not what is expected, we should return an error.

Otherwise, we return 0 or a positive value which will be interpreted as
success, but '*read_val' has not been updated.

Fixes: 73196ebe134d ("HID: alps: add support for Alps T4 Touchpad device")
Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: alps: add new U1 device ID</title>
<updated>2017-10-17T10:41:23Z</updated>
<author>
<name>Masaki Ota</name>
</author>
<published>2017-10-06T02:53:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=287b8e11972f934052f4ed0751df465a5e84b69c'/>
<id>urn:sha1:287b8e11972f934052f4ed0751df465a5e84b69c</id>
<content type='text'>
Add new U1 device Product ID This device is used on HP Elite book x360 series.

[jkosina@suse.cz: update changelog]
Signed-off-by: Masaki Ota &lt;masaki.ota@jp.alps.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: alps: add support for Alps T4 Touchpad device</title>
<updated>2017-10-17T10:40:15Z</updated>
<author>
<name>Masaki Ota</name>
</author>
<published>2017-10-06T02:53:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73196ebe134d11a68a2e27814c489d685cfc8b03'/>
<id>urn:sha1:73196ebe134d11a68a2e27814c489d685cfc8b03</id>
<content type='text'>
- Define T4 device specification value for support T4 device.

- Creeate "t4_contact_data" and "t4_input_report" structure for decoding and
  storing T4-specific data

- Create "t4_calc_check_sum()" function for calculating checksum value to send
  to the device. T4 needs to send this value when reading or writing device
  address value.

- Create "t4_read_write_register()" function for reading and writing device
  address value.

- Create "t4_raw_event()" function for decodin XYZ, palm and button data.

- Replace "MAX_TOUCHES" fixed variable to "max_fingers" variable.

- Add T4 devuce product ID. (0x120C)

T4 device is used on HP EliteBook 1000 series and Zbook Stduio

[jkosina@suse.cz: rewrite changelog]
Signed-off-by: Masaki Ota &lt;masaki.ota@jp.alps.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: alps: remove variables local to u1_init() from the device struct</title>
<updated>2017-10-17T09:35:21Z</updated>
<author>
<name>Masaki Ota</name>
</author>
<published>2017-10-06T02:53:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5992262d59ccbfaa86ea8b10122653429685b3f9'/>
<id>urn:sha1:5992262d59ccbfaa86ea8b10122653429685b3f9</id>
<content type='text'>
Move dev_ctrl, dev_type, sen_line_num_x, sen_line_num_y, pitch_x, pitch_y,
resolution, btn_info from u1_dev structure to "u1_init()", because these
variables are only used in there.

[jkosina@suse.cz: rewrite changelog]
Signed-off-by: Masaki Ota &lt;masaki.ota@jp.alps.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: alps: properly handle max_fingers and minimum on X and Y axis</title>
<updated>2017-10-17T09:35:21Z</updated>
<author>
<name>Masaki Ota</name>
</author>
<published>2017-10-06T02:53:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7083d3f53482e8a2a6ee1238fbedfa7dbea7b3c'/>
<id>urn:sha1:c7083d3f53482e8a2a6ee1238fbedfa7dbea7b3c</id>
<content type='text'>
Create x_min, y_min and max_fingers variables for set correct XY minimum value
and the number of max finger on each devices.

[jkosina@suse.cz: update shortlog]
Signed-off-by: Masaki Ota &lt;masaki.ota@jp.alps.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
