Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759241Ab3BWQgE (ORCPT ); Sat, 23 Feb 2013 11:36:04 -0500 Received: from slimlogic.co.uk ([89.16.172.20]:38956 "EHLO slimlogic.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758175Ab3BWQgC (ORCPT ); Sat, 23 Feb 2013 11:36:02 -0500 From: Ian Lartey To: linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com, sameo@linux.intel.com Cc: ldewangan@nvidia.com, lgirdwood@gmail.com, Graeme Gregory , Ian Lartey Subject: [PATCH v2 1/2] regulator: palmas fix SMPS no voltages Date: Sat, 23 Feb 2013 16:35:40 +0000 Message-Id: <1361637341-22214-1-git-send-email-ian@slimlogic.co.uk> X-Mailer: git-send-email 1.7.0.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Graeme Gregory Number of voltages for SMPS regulators was off by one. Signed-off-by: Graeme Gregory Signed-off-by: Ian Lartey Acked-by: Laxman Dewangan --- 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 + * Author: Ian Lartey * * 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 #define PALMAS_SMPS10_NUM_VOLTAGES 2 #define PALMAS_LDO_NUM_VOLTAGES 50 -- 1.7.0.4