From patchwork Mon Feb 4 11:54:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14508 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 1367423F96 for ; Mon, 4 Feb 2013 11:57:46 +0000 (UTC) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by fiordland.canonical.com (Postfix) with ESMTP id C3382A1877A for ; Mon, 4 Feb 2013 11:57:45 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id d16so3806077vcd.40 for ; Mon, 04 Feb 2013 03:57:45 -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=PuJ4D6iscAoIu3PetsKNeCnwliB+MCUMH1uhNa3hl5E=; b=TkoqpWsLKD6GZmrJyBymsH+LBloSjdPSZAa4wRS5u3Vanx7pOdOuRlKm6t1EfYILPM uASYIs7bRXAD0GG2NmqXDdmcAjnLoEV3ahbGnPrl27H8RM3q9vwh5RL+rxJ8BCmSfTLP B4DhmMzRzAnv1OWia9wrLA9HhssgbfuTEMlJ2ScAzgeuE2X3H+qaYWoylngrA/+qoEMo JjLgcuUjFseuRaypRG4L+dqiLr7F5G2w2NG2VNFIHxdutOS1dX++XOfTkZ5BUvZaVjDw RHCjhp10GO+j/ntuGF59dz+OL69+hxfjC9EZ3DE1EGFN3W8YpRnzXRL0yOCe4MP2qJ3S knyw== X-Received: by 10.220.219.204 with SMTP id hv12mr21315512vcb.71.1359979065321; Mon, 04 Feb 2013 03:57:45 -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 zo8csp83121vec; Mon, 4 Feb 2013 03:57:44 -0800 (PST) X-Received: by 10.195.13.200 with SMTP id fa8mr34590575wjd.15.1359979064398; Mon, 04 Feb 2013 03:57:44 -0800 (PST) Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]) by mx.google.com with ESMTPS id dp1si3468530wib.78.2013.02.04.03.57.44 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:57:44 -0800 (PST) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::22a is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::22a; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c05::22a 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-f170.google.com with SMTP id hm11so4058211wib.3 for ; Mon, 04 Feb 2013 03:57:44 -0800 (PST) X-Received: by 10.180.101.104 with SMTP id ff8mr9883179wib.11.1359979064002; Mon, 04 Feb 2013 03:57:44 -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.41 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:57:42 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: Mattias Wallin , Lee Jones Subject: [PATCH 59/73] regulator: ab8500: Change mode fix for LDO USB Date: Mon, 4 Feb 2013 11:54:14 +0000 Message-Id: <1359978868-28736-60-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: ALoCoQmjdpIG/F3+IJPEO5j1FfSAksiV859RAExyp5rXrjAbZTKWeMs3ofWUMBViA0TK1FhJ4/+C From: Mattias Wallin This patch corrects a bug which makes it impossible to change mode on regulator LDO USB. Signed-off-by: Mattias Wallin Signed-off-by: Lee Jones Reviewed-by: Marcus COOPER Reviewed-by: Jonas ABERG --- drivers/regulator/ab8500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index cfa01b1..8da7ac9 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -966,7 +966,7 @@ static struct ab8500_regulator_info [AB8505_LDO_USB] = { .desc = { .name = "LDO-USB", - .ops = &ab8500_regulator_ops, + .ops = &ab8500_regulator_mode_ops, .type = REGULATOR_VOLTAGE, .id = AB8505_LDO_USB, .owner = THIS_MODULE,