summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-11-11 15:15:28 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-11-16 18:32:32 +0000
commit739aff87a8176c1193cc46ebce5ce6dd537501af (patch)
tree8c2506520b9a5c22192518e993df620a38ddf31a /include/linux/timerqueue.h
parent750ac07eb2c85617b5522402a99b4b408cd0b1b3 (diff)
downloadcachepc-linux-739aff87a8176c1193cc46ebce5ce6dd537501af.tar.gz
cachepc-linux-739aff87a8176c1193cc46ebce5ce6dd537501af.zip
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 <lorenzo.bianconi@redhat.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions