aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLorenzo Bianconi <[email protected]>2018-11-11 15:15:28 +0100
committerJonathan Cameron <[email protected]>2018-11-16 18:32:32 +0000
commit739aff87a8176c1193cc46ebce5ce6dd537501af (patch)
tree8c2506520b9a5c22192518e993df620a38ddf31a /tools/perf/scripts/python
parent750ac07eb2c85617b5522402a99b4b408cd0b1b3 (diff)
iio: imu: st_lsm6dsx: introduce locked read/write utility routines
Add st_lsm6dsx_update_bits_locked, st_lsm6dsx_read_locked and st_lsm6dsx_write_locked utility routines in order to guarantee the bus access is atomic respect to reg page configuration. This is a preliminary patch to add i2c sensor hub support since i2c master registers are accessed through a reg page multiplexer Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions