]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad9467: support multiple channels calibration
authorNuno Sa <nuno.sa@analog.com>
Thu, 4 Jul 2024 09:25:21 +0000 (11:25 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 29 Jul 2024 19:31:11 +0000 (20:31 +0100)
commit7394a155dd1215ce20fd2a562ff537929b0f86d5
treeddb4f3460a12800b724d3f986cb231d9c8b39e80
parent1de9c3c706eef7765590a456d5a8f46a432e5b87
iio: adc: ad9467: support multiple channels calibration

The calibration process mixes the support for calibrating multiple
channels with only having one channel. Some paths do have 'num_channels'
into account while others don't.

As of now, the driver only supports devices with one channel so the
above is not really a problem. That said, we'll add support for devices
with more than one channel, hence let's properly make the calibration
process to work with it.

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240704-dev-iio-ad9467-new-devs-v1-1-f1adfee921f7@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad9467.c