[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51274B5C.4080601@nvidia.com>
Date: Fri, 22 Feb 2013 16:11:32 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Ian Lartey <ian@...mlogic.co.uk>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"broonie@...nsource.wolfsonmicro.com"
<broonie@...nsource.wolfsonmicro.com>, "lrg@...com" <lrg@...com>,
"sameo@...ux.intel.com" <sameo@...ux.intel.com>,
Graeme Gregory <gg@...mlogic.co.uk>
Subject: Re: [PATCH 1/2] regulator: palmas fix SMPS no voltages
On Friday 22 February 2013 06:22 AM, Ian Lartey wrote:
> From: Graeme Gregory <gg@...mlogic.co.uk>
>
> Number of voltages for SMPS regulators was off by one.
>
> Signed-off-by: Graeme Gregory <gg@...mlogic.co.uk>
> Signed-off-by: Ian Lartey <ian@...mlogic.co.uk>
> ---
> drivers/regulator/palmas-regulator.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
> index cde13bb..39cf146 100644
> --- a/drivers/regulator/palmas-regulator.c
> +++ b/drivers/regulator/palmas-regulator.c
> @@ -4,6 +4,7 @@
> * Copyright 2011-2012 Texas Instruments Inc.
> *
> * Author: Graeme Gregory <gg@...mlogic.co.uk>
> + * Author: Ian Lartey <ian@...mlogic.co.uk>
> *
> * This program is free software; you can redistribute it and/or modify it
> * under the terms of the GNU General Public License as published by the
> @@ -156,7 +157,7 @@ static const struct regs_info palmas_regs_info[] = {
> *
> * So they are basically (maxV-minV)/stepV
> */
> -#define PALMAS_SMPS_NUM_VOLTAGES 116
> +#define PALMAS_SMPS_NUM_VOLTAGES 117
Yes, if we keep one for 0.5V and one for 1.65 the it becomes 117
including off.
Acked-by: Laxman Dewangan <ldewangan@...dia.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists