commit | e4add7b6beaff4061693d0632bc1dcb306edba10 | [log] [tgz] |
---|---|---|
author | Andrew Duggan <aduggan@synaptics.com> | Tue Jul 19 17:53:59 2016 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Jul 19 17:56:35 2016 -0700 |
tree | 484f4090365286565522d0802237f345c86c9527 | |
parent | 6a5029e66404462a3322dba8e35615bd09332081 [diff] |
Input: synaptics-rmi4 - fix maximum size check for F12 control register 8 According to the RMI4 spec the maximum size of F12 control register 8 is 15 bytes. The current code incorrectly reports an error if control 8 is greater then 14. Making sensors with a control register 8 with 15 bytes unusable. Signed-off-by: Andrew Duggan <aduggan@synaptics.com> Reported-by: Chris Healy <cphealy@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>