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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2019 07:32:02 +0000 (09:32 +0200)
commita4a0e6b33909b23165857fac2afae35dd15390ef
tree9fd76496bbe52ffa02275652ad37b6edd5bba137
parent9bae0c05a3eb2fd62a5082c7e451110d3453f9be
Input: synaptics-rmi4 - write config register values to the right offset

commit 3a349763cf11e63534b8f2d302f2d0c790566497 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/rmi4/rmi_f11.c