Skip to content

Commit f242967

Browse files
ceclandumitrujic23
authored andcommitted
iio: adc: ad7173: fix GPIO device info
Models AD4114/5/6 have .higher_gpio_bits = true. This is not correct as the only models that have the GPIO bits to a higher position are AD4111/2. Fix by removing the higher_gpio_bits = true from the AD4114/5/6 models. Fixes: 13d12e3 ("iio: adc: ad7173: Add support for AD411x devices") Signed-off-by: Dumitru Ceclan <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 61cbfb5 commit f242967

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/iio/adc/ad7173.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ static const struct ad7173_device_info ad4114_device_info = {
302302
.num_configs = 8,
303303
.num_voltage_in = 16,
304304
.num_gpios = 4,
305-
.higher_gpio_bits = true,
306305
.has_vincom_input = true,
307306
.has_temp = true,
308307
.has_input_buf = true,
@@ -320,7 +319,6 @@ static const struct ad7173_device_info ad4115_device_info = {
320319
.num_configs = 8,
321320
.num_voltage_in = 16,
322321
.num_gpios = 4,
323-
.higher_gpio_bits = true,
324322
.has_vincom_input = true,
325323
.has_temp = true,
326324
.has_input_buf = true,
@@ -338,7 +336,6 @@ static const struct ad7173_device_info ad4116_device_info = {
338336
.num_configs = 8,
339337
.num_voltage_in = 16,
340338
.num_gpios = 4,
341-
.higher_gpio_bits = true,
342339
.has_vincom_input = true,
343340
.has_temp = true,
344341
.has_input_buf = true,

0 commit comments

Comments
 (0)