Richard Hughes
04fde48e9a
synaptics-rmi: Add a missing error enum value
...
This was spotted whilst fixing the last bug...
2020-02-07 15:16:39 +00:00
Richard Hughes
9baaacc099
synaptics-rmi: Correctly identify a checksum failure
...
The typo was spotted by Coverity.
2020-02-07 15:16:39 +00:00
Richard Hughes
2f85c24363
synaptics-rmi: Fix Coverity issue that is impossible to hit in reality
...
The guint16 was promoted to (signed) int for the multiplication, which meant
that the highest address possible was 0x7FFFFFFF not 0xFFFFFFFF. Which doesn't
really matter in reality, as all addresses are much smaller than that now.
2020-02-07 15:16:39 +00:00
Richard Hughes
83fe59629d
synaptics-rmi: Correctly set the payload length rather than hardcoding it
2019-10-08 12:32:09 +01:00
Richard Hughes
9a5f076b6b
synaptics-rmi: Write the core config correctly
2019-10-08 12:32:09 +01:00
Richard Hughes
d0fbc34704
synaptics-rmi: Decode BL7 status failures as actual errors
2019-10-08 12:32:09 +01:00
Richard Hughes
5b03566465
synaptics-rmi: Add some trivial debugging to help debug a write problem
2019-10-08 12:32:09 +01:00
Richard Hughes
d6fc172ec9
synaptics-rmi: Check the correct register when querying bootloader mode
2019-10-07 11:50:49 +01:00
Richard Hughes
2524c3fd79
synaptics-rmi: Copy the behavior of rmi4utils for BL7 detach
2019-10-05 09:07:22 +01:00
Richard Hughes
339f823ee2
synaptics-rmi: Use the correct mask when getting the bootloader mode on BL7
2019-10-05 09:07:22 +01:00
Richard Hughes
007140bd78
synaptics-rmi: Read the config partition the same as rmi4utils
2019-10-04 15:47:16 +01:00
Richard Hughes
0e17281997
synaptics-rmi: Add some debugging for BL7 devices
2019-10-04 10:59:08 +01:00
Richard Hughes
c6cda8bc71
synaptics-rmi: Do as little as possible in device setup
...
This reduces the setup time by another 70ms and also makes the plugin simpler.
2019-10-03 15:14:10 +01:00
Richard Hughes
e87abd81a2
synaptics-rmi: Fix the packing of the partition table
...
The data was part of the union, not the struct. It's also binary format and
thus needs to be packed.
2019-10-02 12:28:06 +01:00
Richard Hughes
63aa6759f0
Add a plugin to update Synaptics RMI4 devices
2019-10-02 10:45:13 +01:00