aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLuca Ceresoli <[email protected]>2018-07-25 12:24:54 -0400
committerMauro Carvalho Chehab <[email protected]>2018-07-27 12:41:42 -0400
commit279b4b9aaa3d04ea8de960e39e54e38aafe93e62 (patch)
tree45dc1bbcf11d6a15b982e63ba42596db3d68796e /tools/perf/scripts/python/bin/stackcollapse-record
parent3ee47cad3e6955147882f1a24a9465704d8eddd2 (diff)
media: imx274: use regmap_bulk_write to write multybyte registers
Currently 2-bytes and 3-bytes registers are set by very similar functions doing the needed shift & mask manipulation, followed by very similar for loops setting one byte at a time over I2C. Replace all of this code by a unique helper function that calls regmap_bulk_write(), which has two advantages: - sets all the bytes in a unique I2C transaction - removes lots of now unused code. Signed-off-by: Luca Ceresoli <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions