Input: synaptics-rmi4 - fix endianness issue in SMBus transport
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Mar 2017 19:34:20 +0000 (12:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:23:59 +0000 (16:23 -0700)
commit2593cd1189a2a38a17c97abcd847f28f8a4617be
tree802ebc6253e5b7e74395bce775fee0b4d2c0060b
parent8cf0adf2f8c3f9f30ba4f1b79e051993aea158d7
Input: synaptics-rmi4 - fix endianness issue in SMBus transport

The mapping table holds address in LE form, so we should convert it
to CPU when comparing it.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_smbus.c