Message ID | 26f5713ba03a7d5ee590ce615d19578eb4395abe.1367241503.git.viresh.kumar@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBR7J7GFQKGQEMGAYGTQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A508C25E08 for <linaro@patches.linaro.org>; Mon, 29 Apr 2013 13:25:27 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f35sf9469942yha.7 for <linaro@patches.linaro.org>; Mon, 29 Apr 2013 06:25:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :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:in-reply-to:references:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe; bh=qU5ewdRpbRyGDwrzL18tJ/n2Ogweoi8ZP6LA1cwxhbs=; b=QlYXGsWbPn3cbvvUIXcoamo4nF//Gb6LYgZ8+xMx8HkfXn/+OaeQig11ihcxFpGF/Q cLDDjPXI5P+gEohArNTUk/VgFZc1lBZbyjk68vW+rtl6xJ3EdCD6KS6fCsQKLG+4ytdP 4/mYLq4vPGzQgG4nHbDFCbOpQTHbhv2mOqxrsbAmcdZqXGiUz0MGQAt9CeJTWUB48lvy VO5PrdGWuNT9kR1hwHmZ7YmJ468qm6vS7EdTEX03DkUYN7J0sZhd/R/8EQwsgYbcqs/h v2ujSanMwYqRwzg/0HNfS9yt5Sdo3V2uUc1nx3oJLeAiRjuj/umBa0z5KAmAGOYWYb6c ouiA== X-Received: by 10.236.80.106 with SMTP id j70mr12445102yhe.11.1367241927128; Mon, 29 Apr 2013 06:25:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.107.201 with SMTP id he9ls2899439qeb.2.gmail; Mon, 29 Apr 2013 06:25:27 -0700 (PDT) X-Received: by 10.221.9.9 with SMTP id ou9mr13801735vcb.15.1367241926926; Mon, 29 Apr 2013 06:25:26 -0700 (PDT) Received: from mail-vb0-x22f.google.com (mail-vb0-x22f.google.com [2607:f8b0:400c:c02::22f]) by mx.google.com with ESMTPS id p19si9794263vcw.43.2013.04.29.06.25.26 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 06:25:26 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22f is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22f; Received: by mail-vb0-f47.google.com with SMTP id x14so587818vbb.20 for <patchwork-forward@linaro.org>; Mon, 29 Apr 2013 06:25:26 -0700 (PDT) X-Received: by 10.58.230.130 with SMTP id sy2mr1164376vec.22.1367241926784; Mon, 29 Apr 2013 06:25:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp57472veb; Mon, 29 Apr 2013 06:25:26 -0700 (PDT) X-Received: by 10.66.162.229 with SMTP id yd5mr47661722pab.4.1367241925939; Mon, 29 Apr 2013 06:25:25 -0700 (PDT) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id zm10si16912728pbc.328.2013.04.29.06.25.25 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 06:25:25 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id p11so3587494pdj.22 for <patches@linaro.org>; Mon, 29 Apr 2013 06:25:25 -0700 (PDT) X-Received: by 10.68.7.39 with SMTP id g7mr1696805pba.146.1367241925460; Mon, 29 Apr 2013 06:25:25 -0700 (PDT) Received: from localhost ([122.172.192.131]) by mx.google.com with ESMTPSA id zv4sm24070488pbb.28.2013.04.29.06.25.20 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 29 Apr 2013 06:25:24 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: rjw@sisk.pl Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, robin.randhawa@arm.com, Steve.Bannister@arm.com, Liviu.Dudau@arm.com, charles.garcia-tobin@arm.com, arvind.chauhan@arm.com, linux-arm-kernel@lists.infradead.org, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH 2/5] cpufreq: ARM big LITTLE DT: Return correct transition latency Date: Mon, 29 Apr 2013 18:54:45 +0530 Message-Id: <26f5713ba03a7d5ee590ce615d19578eb4395abe.1367241503.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1367241503.git.viresh.kumar@linaro.org> References: <cover.1367241503.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1367241503.git.viresh.kumar@linaro.org> References: <cover.1367241503.git.viresh.kumar@linaro.org> X-Gm-Message-State: ALoCoQmEU/3BuTsD4vNYhShQzaWGRnYcEJ7afQ0MK2Vr+YhPzeatBZfiC0lZRj1vyUACxNTUNJtp X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22f is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/cpufreq/arm_big_little_dt.c b/drivers/cpufreq/arm_big_little_dt.c index 44be311..d5ae4d2 100644 --- a/drivers/cpufreq/arm_big_little_dt.c +++ b/drivers/cpufreq/arm_big_little_dt.c @@ -78,7 +78,7 @@ static int dt_get_transition_latency(struct device *cpu_dev) of_node_put(np); of_node_put(parent); - return 0; + return transition_latency; } return -ENODEV;
By mistake we are returning zero for successful call to dt_get_transition_latency(), whereas we should return transition_latency. Fix it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/arm_big_little_dt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)