Skip to content

Commit 8a01ef7

Browse files
dlechjic23
authored andcommitted
iio: adc: ad9467: fix scan type sign
According to the IIO documentation, the sign in the scan type should be lower case. The ad9467 driver was incorrectly using upper case. Fix by changing to lower case. Fixes: 4606d0f ("iio: adc: ad9467: add support for AD9434 high-speed ADC") Fixes: ad67971 ("iio: adc: ad9467: add support AD9467 ADC") Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://lore.kernel.org/r/20240503-ad9467-fix-scan-type-sign-v1-1-c7a1a066ebb9@baylibre.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 1613e60 commit 8a01ef7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/iio/adc/ad9467.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ static void __ad9467_get_scale(struct ad9467_state *st, int index,
243243
}
244244

245245
static const struct iio_chan_spec ad9434_channels[] = {
246-
AD9467_CHAN(0, 0, 12, 'S'),
246+
AD9467_CHAN(0, 0, 12, 's'),
247247
};
248248

249249
static const struct iio_chan_spec ad9467_channels[] = {
250-
AD9467_CHAN(0, 0, 16, 'S'),
250+
AD9467_CHAN(0, 0, 16, 's'),
251251
};
252252

253253
static const struct ad9467_chip_info ad9467_chip_tbl = {

0 commit comments

Comments
 (0)