linux_dsm_epyc7002/drivers/input/rmi4
Guenter Roeck c762cc68b6 Input: synaptics-rmi4 - propagate correct number of rx and tx electrodes to F54
F54 diagnostics report functions provide data based on the number of
enabled rx and tx electrodes, which is not identical to the number of
electrodes reported with F54:Query0 and F54:Query1. Those values report
the number of supported electrodes, not the number of enabled electrodes.
The number of enabled electrodes can be determined by analyzing F55:Ctrl1
(sensor receiver assignment) and F55:Ctrl2 (sensor transmitter assignment).

Propagate the number of enabled electrodes from F55 to F54 to avoid
corrupted output if not all electrodes are enabled.

Fixes: 3a762dbd53 ("[media] Input: synaptics-rmi4 - add support for F54 ...")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Nick Dyer <nick@shmanahar.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2016-11-22 17:59:25 -08:00
..
Kconfig Input: synaptics-rmi4 - propagate correct number of rx and tx electrodes to F54 2016-11-22 17:59:25 -08:00
Makefile Input: synaptics-rmi4 - add support for F55 sensor tuning 2016-11-22 17:59:24 -08:00
rmi_2d_sensor.c Input: synaptics-rmi4 - set the ABS_MT_TOOL_TYPE bit to report tool type 2016-11-08 17:12:09 -08:00
rmi_2d_sensor.h Input: synaptics-rmi4 - add parameters for dribble packets and palm detect gesture 2016-11-08 17:12:07 -08:00
rmi_bus.c Input: synaptics-rmi4 - add support for F55 sensor tuning 2016-11-22 17:59:24 -08:00
rmi_bus.h Input: synaptics-rmi4 - add SMBus support 2016-11-08 17:12:10 -08:00
rmi_driver.c Input: synaptics-rmi4 - add support for F34 device reflash 2016-11-22 17:59:23 -08:00
rmi_driver.h Input: synaptics-rmi4 - add support for F55 sensor tuning 2016-11-22 17:59:24 -08:00
rmi_f01.c Input: synaptics-rmi4 - add support for F34 device reflash 2016-11-22 17:59:23 -08:00
rmi_f11.c Input: synaptics-rmi4 - add parameters for dribble packets and palm detect gesture 2016-11-08 17:12:07 -08:00
rmi_f12.c Input: synaptics-rmi4 - add support for controlling dribble packets in F12 2016-11-08 17:12:08 -08:00
rmi_f30.c Input: synaptics-rmi4 - handle incomplete input data 2016-11-08 17:12:06 -08:00
rmi_f34.c Input: synaptics-rmi4 - add support for F34 device reflash 2016-11-22 17:59:23 -08:00
rmi_f34.h Input: synaptics-rmi4 - add support for F34 device reflash 2016-11-22 17:59:23 -08:00
rmi_f54.c Input: synaptics-rmi4 - propagate correct number of rx and tx electrodes to F54 2016-11-22 17:59:25 -08:00
rmi_f55.c Input: synaptics-rmi4 - propagate correct number of rx and tx electrodes to F54 2016-11-22 17:59:25 -08:00
rmi_i2c.c Input: synaptics-rmi4 - move IRQ handling to rmi_driver 2016-11-08 17:12:05 -08:00
rmi_smbus.c Input: synaptics-rmi4 - add SMBus support 2016-11-08 17:12:10 -08:00
rmi_spi.c Input: synaptics-rmi4 - move IRQ handling to rmi_driver 2016-11-08 17:12:05 -08:00