aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorGuido Martínez <[email protected]>2015-05-06 16:33:40 -0700
committerDmitry Torokhov <[email protected]>2015-05-06 16:39:28 -0700
commit195e610bf7104d0dbe7e420e361dfb154694691d (patch)
tree1722d2171f77e8d29ee3f2d541cd994a64625369 /tools/perf/util/scripting-engines/trace-event-perl.c
parentc9eeb5084b27ffede2709e8775827729d0c7c46c (diff)
Input: adp5589-keys - fix pull mask setting
The pull mask is created by looping each row (column) and building an 8-bit integer with the configuration. It is written byte-by-byte, when we reach the end of the rows (columns) or we're at the 3rd line (which finishes the first byte, since each pin is 2bits on the mask). However, this only works if we have at most 8 pins (2 bytes), which is not the case for the ADP5589. So, write the byte at each boundary (every 4 rows/columns). Signed-off-by: Guido Martínez <[email protected]> Acked-by: Michael Hennerich <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions