diff options
author | Irina Tirdea <irina.tirdea@intel.com> | 2015-12-17 15:55:21 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-12-17 17:11:51 -0800 |
commit | a779fbc6c931007559b74fd74c2dc7b1c25bac33 (patch) | |
tree | e699e667ffc504ce5d265c5321a49c4fe79e0363 /drivers/input/serio/xilinx_ps2.c | |
parent | 7f0ad5396a22c061c3c724c299848b4bc2440de5 (diff) | |
download | blackbird-obmc-linux-a779fbc6c931007559b74fd74c2dc7b1c25bac33.tar.gz blackbird-obmc-linux-a779fbc6c931007559b74fd74c2dc7b1c25bac33.zip |
Input: goodix - use actual config length for each device type
Each of the Goodix devices supported by this driver has a fixed size for
the configuration information registers. The size varies depending on the
device and is specified in the datasheet.
Use the proper configuration length as specified in the datasheet for
each device model, so we do not read more than the actual size of the
configuration registers.
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Acked-by: Bastien Nocera <hadess@hadess.net>
Tested-by: Bastien Nocera <hadess@hadess.net>
Tested-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio/xilinx_ps2.c')
0 files changed, 0 insertions, 0 deletions