From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934340AbbJHPXB (ORCPT ); Thu, 8 Oct 2015 11:23:01 -0400 Received: from mail1.bemta5.messagelabs.com ([195.245.231.147]:51843 "EHLO mail1.bemta5.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934173AbbJHPW7 (ORCPT ); Thu, 8 Oct 2015 11:22:59 -0400 X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-7.tower-178.messagelabs.com!1444317769!1072076!3 X-Originating-IP: [87.137.64.195] X-StarScan-Received: X-StarScan-Version: 7.19.2; banners=-,-,- X-VirusChecked: Checked Message-ID: In-Reply-To: References: From: Steve Twiss Date: Thu, 8 Oct 2015 16:17:52 +0100 Subject: [PATCH V1 2/2] regulator: da9053: Add regulator support for DA9053 BB silicon To: LINUXKERNEL , Liam Girdwood , Mark Brown , Steve Twiss CC: David Dajun Chen , Support Opensource MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: 8d172408-bd6a-42b1-8e53-daaedf35a5af Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Steve Twiss Provide an additional case entry for DA9053_BC in the find_regulator_info() function in order to support BB type silicon for the DA9053 device. Signed-off-by: Steve Twiss --- This patch applies against linux-next and v4.3-rc4 drivers/regulator/da9052-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index e628d4c..12a25b4 100644 --- a/drivers/regulator/da9052-regulator.c +++ b/drivers/regulator/da9052-regulator.c @@ -381,6 +381,7 @@ static inline struct da9052_regulator_info *find_regulator_info(u8 chip_id, case DA9053_AA: case DA9053_BA: case DA9053_BB: + case DA9053_BC: for (i = 0; i < ARRAY_SIZE(da9053_regulator_info); i++) { info = &da9053_regulator_info[i]; if (info->reg_desc.id == id) -- end-of-patch for PATCH V1