From patchwork Mon Feb 4 11:54:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14496 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7E71E23F96 for ; Mon, 4 Feb 2013 11:57:20 +0000 (UTC) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by fiordland.canonical.com (Postfix) with ESMTP id 38EF3A1877A for ; Mon, 4 Feb 2013 11:57:20 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id m18so3782940vcm.8 for ; Mon, 04 Feb 2013 03:57:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=ikkALv0eJHciKc+wPXW2YoVFbZQsD0MPtLQYuQxzukw=; b=AoAd6PSTqRYi1nVYsEtspcvj8HafZQuEvAywjhsatJeqv8KJdhmYkNAOQlroST0EUb OT37JkfKZydypDpyUo4+j2oWLI48lzY3F2qa21k8MtupGQscLu2VTMMrRoWI2+t4YaAO j9xZYepcTZVDLqkrS95HBAarithSKgUGGog3/YItG8Pko/PXJal9FszMk/+MlITyxa5z +P5WgfO5Rgp6nVXktEUaC1klCd6MGuoQz95WVrl+TG/z0H+jUOkCjubdKedJOW6WL9dC 5TbCeY4lIuWnD2tBrtzAY1aLphFD6YzlBN4IKXi056Aq/y5qZ3q7nFF46JgkHqd75l8B eYXA== X-Received: by 10.59.7.65 with SMTP id da1mr17668506ved.4.1359979039755; Mon, 04 Feb 2013 03:57:19 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp83099vec; Mon, 4 Feb 2013 03:57:19 -0800 (PST) X-Received: by 10.180.90.106 with SMTP id bv10mr9889111wib.12.1359979038900; Mon, 04 Feb 2013 03:57:18 -0800 (PST) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by mx.google.com with ESMTPS id ym9si5713396wjc.186.2013.02.04.03.57.18 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:57:18 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.43 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.43; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.43 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f43.google.com with SMTP id e12so4525290wge.34 for ; Mon, 04 Feb 2013 03:57:18 -0800 (PST) X-Received: by 10.194.178.33 with SMTP id cv1mr34502990wjc.46.1359979038431; Mon, 04 Feb 2013 03:57:18 -0800 (PST) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPS id j9sm12937128wia.5.2013.02.04.03.57.16 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:57:17 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: Michel JAOUEN , Alexandre Torgue , Lee Jones Subject: [PATCH 47/73] regulator: ab8500: Update AB9540 init masks Date: Mon, 4 Feb 2013 11:54:02 +0000 Message-Id: <1359978868-28736-48-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1359978868-28736-1-git-send-email-lee.jones@linaro.org> References: <1359978868-28736-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmoX2S8Bm7pbu545X29FM+2MMFslhnKHI6+kx8EZZLsVVcKosCEwYSubC/hbr3wLNbLjoDa From: Michel JAOUEN This patch ensures the initialisation masks for AB9540_REGUSYSCLKREQVALID1 and AB9540_REGUSYSCLKREQVALID1 are correctly defined. Signed-off-by: Alexandre Torgue Signed-off-by: Lee Jones Reviewed-by: Michel JAOUEN Tested-by: Michel JAOUEN Tested-by: Philippe LANGLAIS --- drivers/regulator/ab8500.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index ae2d755..0dfb4e5 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -1995,13 +1995,13 @@ static struct ab8500_reg_init ab9540_reg_init[] = { * ... * 0x80, SysClkReq8Valid1 */ - REG_INIT(AB9540_REGUSYSCLKREQVALID1, 0x03, 0x0f, 0xfe), + REG_INIT(AB9540_REGUSYSCLKREQVALID1, 0x03, 0x0f, 0xff), /* * 0x02, SysClkReq2Valid2 * ... * 0x80, SysClkReq8Valid2 */ - REG_INIT(AB9540_REGUSYSCLKREQVALID2, 0x03, 0x10, 0xfe), + REG_INIT(AB9540_REGUSYSCLKREQVALID2, 0x03, 0x10, 0xff), /* * 0x01, Vaux4SwHPReqValid * 0x02, Vaux4HwHPReq2Valid