aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLuca Ceresoli <[email protected]>2018-08-24 12:35:24 -0400
committerMauro Carvalho Chehab <[email protected]>2018-09-17 15:13:09 -0400
commitca017467c78bd0e451facea2e512cfa8881eb003 (patch)
tree907adb9eab126c29cfce68357791ace2283eafef /tools/perf/scripts/python/bin
parent1657c28d82e8f89f0cb7d327f31515071bd0577a (diff)
media: imx274: add helper to read multibyte registers
Currently 2-bytes and 3-bytes registers are read one byte at a time, doing the needed shift & mask each time. Replace all of this code by a unique helper function that calls regmap_bulk_read(), which has two advantages: - reads all the bytes in a unique I2C transaction - simplifies code to read multibyte registers 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')
0 files changed, 0 insertions, 0 deletions