]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad7380: fix missing max_conversion_rate_hz on adaq4381-4
authorDavid Lechner <dlechner@baylibre.com>
Mon, 11 Aug 2025 18:32:31 +0000 (13:32 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 Aug 2025 13:32:35 +0000 (14:32 +0100)
commitb04e4551893fb8a06106a175ed7055d41a9279c4
tree00629e63a0e63e9788e6c6c463a5f1b249a48387
parent8a6ededaad2d2dcaac8e545bffee1073dca9db95
iio: adc: ad7380: fix missing max_conversion_rate_hz on adaq4381-4

Add max_conversion_rate_hz to the chip info for "adaq4381-4". Without
this, the driver fails to probe because it tries to set the initial
sample rate to 0 Hz, which is not valid.

Fixes: bbeaec81a03e ("iio: ad7380: add support for SPI offload")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20250811-iio-adc-ad7380-fix-missing-max_conversion_rate_hs-on-ad4381-4-v1-1-ffb728d7a71c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7380.c