The map_offset variable is specific to the register and needs to be reset in the loop. Otherwise, subsequent register's subpacket maps will have their bits set at the wrong index. Signed-off-by: Andrew Duggan <aduggan@synaptics.com> Tested-by: Nitin Chaudhary <nitinchaudhary1289@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| rmi_2d_sensor.c | ||
| rmi_2d_sensor.h | ||
| rmi_bus.c | ||
| rmi_bus.h | ||
| rmi_driver.c | ||
| rmi_driver.h | ||
| rmi_f01.c | ||
| rmi_f11.c | ||
| rmi_f12.c | ||
| rmi_f30.c | ||
| rmi_i2c.c | ||
| rmi_spi.c | ||