From patchwork Mon Feb 4 11:54:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14514 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 4028223F96 for ; Mon, 4 Feb 2013 11:58:01 +0000 (UTC) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by fiordland.canonical.com (Postfix) with ESMTP id B3BBAA194BE for ; Mon, 4 Feb 2013 11:58:00 +0000 (UTC) Received: by mail-ve0-f181.google.com with SMTP id d10so4645683vea.12 for ; Mon, 04 Feb 2013 03:58:00 -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=OzafWWyV9ga3xOpfHvae/PFG/YeXLPgsgsh8QUKJVa0=; b=PkIFMUQbGb1I7Y//uIedvDfFxLCqVPqwmkgi8z2W2ayd6/u4qy8QE1KPOq25Hy9pnb bgZiL9rjruNbcqC5AGDfb9+H6m9jZ0AU1AqmKzvwxghop7QOPOegdhAEdH4P9YpGeCMB u7knWGcIQO6ybp/J9Bcl3GUaE9QSj2KRVnpuwwseUU3LfQ83uab+D5BwDn+i+TRpte+x UIAgoiuCMhdSJ9pDw48A3NwPAVHPw3hQBwBXTaVY8sMJ52E+Hw5bmOFzMfnvoZI6oHJd FyQ8X7gi9A05TOvQ0DNwWULcpTruvJYiF2NgbEyakx4EyWq3MblfnkGznsBI6s2ehUg9 6dLg== X-Received: by 10.59.7.65 with SMTP id da1mr17670614ved.4.1359979080264; Mon, 04 Feb 2013 03:58:00 -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 zo8csp83135vec; Mon, 4 Feb 2013 03:57:59 -0800 (PST) X-Received: by 10.180.96.194 with SMTP id du2mr9875183wib.19.1359979079309; Mon, 04 Feb 2013 03:57:59 -0800 (PST) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx.google.com with ESMTPS id fn8si3476586wib.29.2013.02.04.03.57.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:57:59 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.174 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.174; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.174 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-wi0-f174.google.com with SMTP id hi8so2281356wib.7 for ; Mon, 04 Feb 2013 03:57:58 -0800 (PST) X-Received: by 10.194.179.34 with SMTP id dd2mr34916796wjc.1.1359979078923; Mon, 04 Feb 2013 03:57:58 -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.56 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:57:57 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: David Paris , Lee Jones Subject: [PATCH 65/73] regulator: ab8500: Update VAna supply management for the AB9540 Date: Mon, 4 Feb 2013 11:54:20 +0000 Message-Id: <1359978868-28736-66-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: ALoCoQmHQokundV92GrWOIU57qPE0WL7C0UcBrAFxkXzpBF5nH4YwuEAN0tmdC1AkYRytk5Cy+uC From: David Paris Workaround to switch off VAna when going to suspend. In combination with workaround that makes VAna always ON in running mode. Signed-off-by: David Paris Signed-off-by: Lee Jones Reviewed-by: Yvon CORRE 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 f31669e..fa0979a 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -1451,9 +1451,9 @@ static struct ab8500_regulator_info .update_bank = 0x04, .update_reg = 0x06, .update_mask = 0x0c, - .update_val = 0x04, + .update_val = 0x08, .update_val_idle = 0x0c, - .update_val_normal = 0x04, + .update_val_normal = 0x08, }, };