]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7768-1: disable IRQ autoenable
authorJonathan Santos <Jonathan.Santos@analog.com>
Mon, 23 Feb 2026 11:59:44 +0000 (08:59 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 1 Mar 2026 12:07:11 +0000 (12:07 +0000)
commit68fe7c28faeac160c6474c5df93de6194af17a67
tree369a8fd7540d950543ed0683387068d0d71cc732
parent81fdc3127d013a552465c3bf9829afbed5184406
iio: adc: ad7768-1: disable IRQ autoenable

The device continuously converts data while powered up, generating
interrupts in the background. Configure the IRQ to be enabled and
disabled manually as needed to avoid unnecessary CPU load.

Signed-off-by: Jonathan Santos <Jonathan.Santos@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7768-1.c