]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad9467: check for backend capabilities
authorTomas Melin <tomas.melin@vaisala.com>
Tue, 10 Feb 2026 10:53:39 +0000 (10:53 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 23 Feb 2026 08:24:22 +0000 (08:24 +0000)
commit2e47110413d94cde2282f46112f3035237ace249
tree0be3208cb3f266bb09d98af52aa434eae8f370e2
parent89443dc7843c22411f7bdeffa513e4dc709c7ba2
iio: adc: ad9467: check for backend capabilities

Add capability checks for operation with backends that do not necessarily
support full set of features, but are otherwise compatible with the device.
This ensures a fully functional device, but with limited capabilities.

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad9467.c