Input: synaptics-rmi4 - write config register values to the right offset
authorLucas Stach <l.stach@pengutronix.de>
Sat, 27 Apr 2019 00:22:01 +0000 (17:22 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 27 Apr 2019 00:35:32 +0000 (17:35 -0700)
commit3a349763cf11e63534b8f2d302f2d0c790566497
treeafe88353fbb88a6cca322ae2b82320837b827566
parentbce1a78423961fce676ac65540a31b6ffd179e6d
Input: synaptics-rmi4 - write config register values to the right offset

Currently any changed config register values don't take effect, as the
function to write them back is called with the wrong register offset.

Fixes: ff8f83708b3e (Input: synaptics-rmi4 - add support for 2D
                     sensors and F11)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f11.c