From patchwork Mon Feb 4 11:53:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14491 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 C098D23F96 for ; Mon, 4 Feb 2013 11:57:11 +0000 (UTC) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by fiordland.canonical.com (Postfix) with ESMTP id 75056A19236 for ; Mon, 4 Feb 2013 11:57:11 +0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id b13so3747116vby.19 for ; Mon, 04 Feb 2013 03:57:11 -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=16E4HOHvx/Qm/fPMO1QVf7saGIlqxGMFXRphYVY+J4I=; b=KhPKIHno9dlbDVle/31xOk3hPqNf1zIgMCAIzygogISLBBKsfM7+UZ5emLlAGMl0HP I6apFfX9IBbWX4JVvZVB1ukGEnCr2+dAGdLWDAkfRCyZXQQE7JD2UoWJKrm4uGTEdw3W TOhfcmQDh8tkp6heMxPr6u9rFmtsu3JANzZBRfY0bnNxx2IvnZ4+CivmnMliQcUacM25 /AmCUzq4d4q3MMINI+ZC2pBZZ7XfeHHcwDmaYL5iKedK2+jW5/iAGyvSlpo/YT0gBt3E D+8Ffvdhf4okXbxA+d6+kUOrjPs+DYoj2iQnHU4Ou05fbmX31vd4SB46c3tpa8Zd6R/F mzMw== X-Received: by 10.52.21.146 with SMTP id v18mr18931622vde.79.1359979030935; Mon, 04 Feb 2013 03:57:10 -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 zo8csp83086vec; Mon, 4 Feb 2013 03:57:10 -0800 (PST) X-Received: by 10.194.242.69 with SMTP id wo5mr34609819wjc.10.1359979030104; Mon, 04 Feb 2013 03:57:10 -0800 (PST) Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]) by mx.google.com with ESMTPS id cz5si5714303wjb.172.2013.02.04.03.57.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:57:10 -0800 (PST) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::229 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::229; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c03::229 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-we0-f169.google.com with SMTP id t11so4851257wey.14 for ; Mon, 04 Feb 2013 03:57:09 -0800 (PST) X-Received: by 10.180.97.166 with SMTP id eb6mr9773781wib.20.1359979029538; Mon, 04 Feb 2013 03:57:09 -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.07 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:57:08 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: Alexandre Torgue , Lee Jones Subject: [PATCH 42/73] regulator: ab8500: Correct init mask for AB8540 Date: Mon, 4 Feb 2013 11:53:57 +0000 Message-Id: <1359978868-28736-43-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: ALoCoQlo8vw5vRhS4xI/EgQwdLbetB8OiKVPb3kw5ZswJ5/h+SoM6pvxks4W6jgYT1PKWpUqsO0V From: Alexandre Torgue Start-up initialisation values for AB8540_REGUSYSCLKREQVALID1 and AB8540_REGUSYSCLKREQVALID2 are currently slightly incorrect. This patch ensures they are set at their correct values. Signed-off-by: Alexandre Torgue Signed-off-by: Lee Jones Reviewed-by: Maxime COQUELIN Reviewed-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 f27b398..1f1f361 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -2249,13 +2249,13 @@ static struct ab8500_reg_init ab8540_reg_init[] = { * ... * 0x80, SysClkReq8Valid1 */ - REG_INIT(AB8540_REGUSYSCLKREQVALID1, 0x03, 0x0f, 0xfe), + REG_INIT(AB8540_REGUSYSCLKREQVALID1, 0x03, 0x0f, 0xff), /* * 0x02, SysClkReq2Valid2 * ... * 0x80, SysClkReq8Valid2 */ - REG_INIT(AB8540_REGUSYSCLKREQVALID2, 0x03, 0x10, 0xfe), + REG_INIT(AB8540_REGUSYSCLKREQVALID2, 0x03, 0x10, 0xff), /* * 0x01, Vaux4SwHPReqValid * 0x02, Vaux4HwHPReq2Valid