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 <[email protected]> Link: https://lore.kernel.org/r/20240503-ad9467-fix-scan-type-sign-v1-1-c7a1a066ebb9@baylibre.com Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 1613e60 commit 8a01ef7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)