lkml.org 
[lkml]   [2014]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.10 39/52] iio:adc:max1363 incorrect resolutions for max11604, max11605, max11610 and max11611.
    Date
    3.10-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Jonathan Cameron <jic23@kernel.org>

    commit a91a73c8b39a6b8bcc53fafa5372c65387c81233 upstream.

    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>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/iio/adc/max1363.c | 16 ++++++++--------
    1 file changed, 8 insertions(+), 8 deletions(-)

    --- a/drivers/iio/adc/max1363.c
    +++ b/drivers/iio/adc/max1363.c
    @@ -1214,8 +1214,8 @@ static const struct max1363_chip_info ma
    .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,
    @@ -1224,8 +1224,8 @@ static const struct max1363_chip_info ma
    .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,
    @@ -1274,8 +1274,8 @@ static const struct max1363_chip_info ma
    .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,
    @@ -1284,8 +1284,8 @@ static const struct max1363_chip_info ma
    .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,



    \
     
     \ /
      Last update: 2014-06-24 18:41    [W:5.444 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site