diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2016-08-22 11:28:11 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-08-22 14:14:46 -0700 |
commit | 3e29d6bb6433ebfa4e187b1164b80baf720d58c3 (patch) | |
tree | 50af854be5af8de7bc994147eb7fa574cdf8964f /Documentation/hwmon/tmp401 | |
parent | fae16989be77b09bab86c79233e4b511ea769cea (diff) |
Input: synaptics-rmi4 - fix register descriptor subpacket map construction
The map_offset variable is specific to the register and needs to be reset
in the loop. Otherwise, subsequent register's subpacket maps will have
their bits set at the wrong index.
Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Tested-by: Nitin Chaudhary <nitinchaudhary1289@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/hwmon/tmp401')
0 files changed, 0 insertions, 0 deletions