]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7606: protect register access
authorAngelo Dureghello <adureghello@baylibre.com>
Mon, 10 Feb 2025 16:10:57 +0000 (17:10 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 11 Feb 2025 19:56:25 +0000 (19:56 +0000)
commit0f65f59e632d942cccffd12c36036c24eb7037eb
tree05c79cbe378a5210517e27eb526f3e7ed09d6945
parent79c47485e438c8ea6e08ed9b6572158500f8c4cd
iio: adc: ad7606: protect register access

Protect register (and bus) access from concurrent
read / write. Needed in the backend operating mode.

Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250210-wip-bl-ad7606_add_backend_sw_mode-v4-7-160df18b1da7@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.c