]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adis: Add adis_update_bits() APIs
authorNuno Sá <nuno.sa@analog.com>
Mon, 13 Apr 2020 08:24:42 +0000 (10:24 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 15:10:44 +0000 (16:10 +0100)
commitdfd3b60dbf95423950f7f45666d041f64f5e9512
treeb73655984539cb5c215393087baf730a330073cd
parentf1a451c35c1b507cf637de382e919ebc26fbf854
iio: adis: Add adis_update_bits() APIs

This patch adds a `regmap_update_bits()` like API to the ADIS library.
It provides locked and unlocked variant.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis.c
include/linux/iio/imu/adis.h