* [PATCH] iio:adc:max1363 incorrect resolutions for max11604, max11605, max11610 and max11611.
@ 2014-05-24 12:04 Jonathan Cameron
2014-05-24 21:01 ` Hartmut Knaack
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2014-05-24 12:04 UTC (permalink / raw)
To: linux-iio; +Cc: Erik.Habbinga, Jonathan Cameron
Reported-by: Erik Habbinga <Erik.Habbinga@schneider-electric.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
---
drivers/iio/adc/max1363.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c
index 9cf3229..1b3b74b 100644
--- a/drivers/iio/adc/max1363.c
+++ b/drivers/iio/adc/max1363.c
@@ -1252,8 +1252,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
- .channels = max1238_channels,
- .num_channels = ARRAY_SIZE(max1238_channels),
+ .channels = max1038_channels,
+ .num_channels = ARRAY_SIZE(max1038_channels),
},
[max11605] = {
.bits = 8,
@@ -1262,8 +1262,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
- .channels = max1238_channels,
- .num_channels = ARRAY_SIZE(max1238_channels),
+ .channels = max1038_channels,
+ .num_channels = ARRAY_SIZE(max1038_channels),
},
[max11606] = {
.bits = 10,
@@ -1312,8 +1312,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
- .channels = max1238_channels,
- .num_channels = ARRAY_SIZE(max1238_channels),
+ .channels = max1138_channels,
+ .num_channels = ARRAY_SIZE(max1138_channels),
},
[max11611] = {
.bits = 10,
@@ -1322,8 +1322,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
.num_modes = ARRAY_SIZE(max1238_mode_list),
.default_mode = s0to11,
.info = &max1238_info,
- .channels = max1238_channels,
- .num_channels = ARRAY_SIZE(max1238_channels),
+ .channels = max1138_channels,
+ .num_channels = ARRAY_SIZE(max1138_channels),
},
[max11612] = {
.bits = 12,
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] iio:adc:max1363 incorrect resolutions for max11604, max11605, max11610 and max11611.
2014-05-24 12:04 [PATCH] iio:adc:max1363 incorrect resolutions for max11604, max11605, max11610 and max11611 Jonathan Cameron
@ 2014-05-24 21:01 ` Hartmut Knaack
2014-05-25 11:07 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Hartmut Knaack @ 2014-05-24 21:01 UTC (permalink / raw)
To: Jonathan Cameron, linux-iio; +Cc: Erik.Habbinga
Jonathan Cameron schrieb:
> Reported-by: Erik Habbinga <Erik.Habbinga@schneider-electric.com>
> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
> ---
> drivers/iio/adc/max1363.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c
> index 9cf3229..1b3b74b 100644
> --- a/drivers/iio/adc/max1363.c
> +++ b/drivers/iio/adc/max1363.c
> @@ -1252,8 +1252,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
> .num_modes = ARRAY_SIZE(max1238_mode_list),
> .default_mode = s0to11,
> .info = &max1238_info,
> - .channels = max1238_channels,
> - .num_channels = ARRAY_SIZE(max1238_channels),
> + .channels = max1038_channels,
> + .num_channels = ARRAY_SIZE(max1038_channels),
> },
> [max11605] = {
> .bits = 8,
> @@ -1262,8 +1262,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
> .num_modes = ARRAY_SIZE(max1238_mode_list),
> .default_mode = s0to11,
> .info = &max1238_info,
> - .channels = max1238_channels,
> - .num_channels = ARRAY_SIZE(max1238_channels),
> + .channels = max1038_channels,
> + .num_channels = ARRAY_SIZE(max1038_channels),
> },
> [max11606] = {
> .bits = 10,
> @@ -1312,8 +1312,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
> .num_modes = ARRAY_SIZE(max1238_mode_list),
> .default_mode = s0to11,
> .info = &max1238_info,
> - .channels = max1238_channels,
> - .num_channels = ARRAY_SIZE(max1238_channels),
> + .channels = max1138_channels,
> + .num_channels = ARRAY_SIZE(max1138_channels),
> },
> [max11611] = {
> .bits = 10,
> @@ -1322,8 +1322,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
> .num_modes = ARRAY_SIZE(max1238_mode_list),
> .default_mode = s0to11,
> .info = &max1238_info,
> - .channels = max1238_channels,
> - .num_channels = ARRAY_SIZE(max1238_channels),
> + .channels = max1138_channels,
> + .num_channels = ARRAY_SIZE(max1138_channels),
> },
> [max11612] = {
> .bits = 12,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio:adc:max1363 incorrect resolutions for max11604, max11605, max11610 and max11611.
2014-05-24 21:01 ` Hartmut Knaack
@ 2014-05-25 11:07 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2014-05-25 11:07 UTC (permalink / raw)
To: Hartmut Knaack, linux-iio; +Cc: Erik.Habbinga
On 24/05/14 22:01, Hartmut Knaack wrote:
> Jonathan Cameron schrieb:
>> Reported-by: Erik Habbinga <Erik.Habbinga@schneider-electric.com>
>> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
> Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Thanks,
Given the late stage in the cycle and the relatively minor nature of this
bug I've applied it to the togreg tree for the next merge window.
Jonathan
>> ---
>> drivers/iio/adc/max1363.c | 16 ++++++++--------
>> 1 file changed, 8 insertions(+), 8 deletions(-)
>>
>> diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c
>> index 9cf3229..1b3b74b 100644
>> --- a/drivers/iio/adc/max1363.c
>> +++ b/drivers/iio/adc/max1363.c
>> @@ -1252,8 +1252,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
>> .num_modes = ARRAY_SIZE(max1238_mode_list),
>> .default_mode = s0to11,
>> .info = &max1238_info,
>> - .channels = max1238_channels,
>> - .num_channels = ARRAY_SIZE(max1238_channels),
>> + .channels = max1038_channels,
>> + .num_channels = ARRAY_SIZE(max1038_channels),
>> },
>> [max11605] = {
>> .bits = 8,
>> @@ -1262,8 +1262,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
>> .num_modes = ARRAY_SIZE(max1238_mode_list),
>> .default_mode = s0to11,
>> .info = &max1238_info,
>> - .channels = max1238_channels,
>> - .num_channels = ARRAY_SIZE(max1238_channels),
>> + .channels = max1038_channels,
>> + .num_channels = ARRAY_SIZE(max1038_channels),
>> },
>> [max11606] = {
>> .bits = 10,
>> @@ -1312,8 +1312,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
>> .num_modes = ARRAY_SIZE(max1238_mode_list),
>> .default_mode = s0to11,
>> .info = &max1238_info,
>> - .channels = max1238_channels,
>> - .num_channels = ARRAY_SIZE(max1238_channels),
>> + .channels = max1138_channels,
>> + .num_channels = ARRAY_SIZE(max1138_channels),
>> },
>> [max11611] = {
>> .bits = 10,
>> @@ -1322,8 +1322,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
>> .num_modes = ARRAY_SIZE(max1238_mode_list),
>> .default_mode = s0to11,
>> .info = &max1238_info,
>> - .channels = max1238_channels,
>> - .num_channels = ARRAY_SIZE(max1238_channels),
>> + .channels = max1138_channels,
>> + .num_channels = ARRAY_SIZE(max1138_channels),
>> },
>> [max11612] = {
>> .bits = 12,
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-25 11:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-24 12:04 [PATCH] iio:adc:max1363 incorrect resolutions for max11604, max11605, max11610 and max11611 Jonathan Cameron
2014-05-24 21:01 ` Hartmut Knaack
2014-05-25 11:07 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).