]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: light: veml3235: extend regmap to add cache
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Tue, 24 Dec 2024 10:59:02 +0000 (11:59 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Dec 2024 15:43:05 +0000 (15:43 +0000)
commit627f3c41ca005398cf1e86a312c5043147ec7ea6
tree1ac309db1535b3829e5c9c6c03de4a1f2cde3542
parent1a5a4b8fdbc90927864d51bef135efc501936ebc
iio: light: veml3235: extend regmap to add cache

The configuration and ID registers are not volatile and are not affected
by read operations (i.e. not precious), making them suitable to be
cached in order to reduce the number of accesses to the device.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241224-veml3235_scale-v2-3-2e1286846c77@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/veml3235.c