diff options
author | Irina Tirdea | 2015-12-17 15:55:21 -0800 |
---|---|---|
committer | Dmitry Torokhov | 2015-12-17 17:11:51 -0800 |
commit | a779fbc6c931007559b74fd74c2dc7b1c25bac33 (patch) | |
tree | e699e667ffc504ce5d265c5321a49c4fe79e0363 /crypto/internal.h | |
parent | 7f0ad5396a22c061c3c724c299848b4bc2440de5 (diff) |
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 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions