projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iio:adc:max1363 incorrect resolutions for max11604, max11605, max11610 and max11611.
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
iio
/
adc
/
max1363.c
diff --git
a/drivers/iio/adc/max1363.c
b/drivers/iio/adc/max1363.c
index
3602592
..
ef5ffc0
100644
(file)
--- a/
drivers/iio/adc/max1363.c
+++ b/
drivers/iio/adc/max1363.c
@@
-1258,8
+1258,8
@@
static const struct max1363_chip_info max1363_chip_info_tbl[] = {
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
- .channels = max1
2
38_channels,
- .num_channels = ARRAY_SIZE(max1
2
38_channels),
+ .channels = max1
0
38_channels,
+ .num_channels = ARRAY_SIZE(max1
0
38_channels),
},
[max11605] = {
.bits = 8,
},
[max11605] = {
.bits = 8,
@@
-1268,8
+1268,8
@@
static const struct max1363_chip_info max1363_chip_info_tbl[] = {
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
- .channels = max1
2
38_channels,
- .num_channels = ARRAY_SIZE(max1
2
38_channels),
+ .channels = max1
0
38_channels,
+ .num_channels = ARRAY_SIZE(max1
0
38_channels),
},
[max11606] = {
.bits = 10,
},
[max11606] = {
.bits = 10,
@@
-1318,8
+1318,8
@@
static const struct max1363_chip_info max1363_chip_info_tbl[] = {
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
- .channels = max1
2
38_channels,
- .num_channels = ARRAY_SIZE(max1
2
38_channels),
+ .channels = max1
1
38_channels,
+ .num_channels = ARRAY_SIZE(max1
1
38_channels),
},
[max11611] = {
.bits = 10,
},
[max11611] = {
.bits = 10,
@@
-1328,8
+1328,8
@@
static const struct max1363_chip_info max1363_chip_info_tbl[] = {
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
- .channels = max1
2
38_channels,
- .num_channels = ARRAY_SIZE(max1
2
38_channels),
+ .channels = max1
1
38_channels,
+ .num_channels = ARRAY_SIZE(max1
1
38_channels),
},
[max11612] = {
.bits = 12,
},
[max11612] = {
.bits = 12,