Message ID | 799a45eb0d50557b20e508e55f98ce2df9e16b76.1379063063.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBE47ZSIQKGQEI5CFKHQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D26B820358 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 13:13:55 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ht10sf1193666vcb.9 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 06:13:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=E7h59Yk6sHn9ytrGdCDrMhT41GqNOxrRrX3aLVGG9AA=; b=WOZW3wcWSq0a695yWb9SPPtRkYNMl2RqSRwRtc6hKIImJ9WabeFJMZM3n9cEg0OqeC PEBJo9NsdRte5Haw67DpeCpxfZI13y9uSQ3Rs1a8oXPrYSzLy6bb3NJZGPBUhnI/MiEm c1TcwU7Hcd5CMnDUuKp3NMPeG6GPEC2cCv8nQdY/of7vcbdp4eOknSnAInYmIx+UfZ6n VeljXKEDF8ylnqTx0ZKeYW7hUk4sss7gctGnJJxtZ1bqc75x0+b52x758k/JmhHSiXFb 5CxhRtXZABmBm+fwltikxu9T0UV3ll3ghH7jVR2gHF+tdOWZuiuA1umrBxpx5GVASYC0 LuzA== X-Gm-Message-State: ALoCoQkXN4fR+gEB7tWaylAVBwi4b59J79PoXXIwK610nSyqXdlzwtq0KqZNQ2wJnHG/BZm460sD X-Received: by 10.236.0.232 with SMTP id 68mr4988996yhb.16.1379078035494; Fri, 13 Sep 2013 06:13:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.104 with SMTP id lj8ls1219761qeb.11.gmail; Fri, 13 Sep 2013 06:13:55 -0700 (PDT) X-Received: by 10.52.110.98 with SMTP id hz2mr9210721vdb.1.1379078035283; Fri, 13 Sep 2013 06:13:55 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id w20si3091011vco.143.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:13:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id jw12so927587veb.37 for <patchwork-forward@linaro.org>; Fri, 13 Sep 2013 06:13:55 -0700 (PDT) X-Received: by 10.52.37.69 with SMTP id w5mr1305568vdj.32.1379078035194; Fri, 13 Sep 2013 06:13:55 -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.220.174.196 with SMTP id u4csp79972vcz; Fri, 13 Sep 2013 06:13:54 -0700 (PDT) X-Received: by 10.68.225.131 with SMTP id rk3mr2040799pbc.183.1379078034135; Fri, 13 Sep 2013 06:13:54 -0700 (PDT) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id tp5si11188939pac.164.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:13:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.220.50; Received: by mail-pa0-f50.google.com with SMTP id fb10so2534933pad.9 for <patches@linaro.org>; Fri, 13 Sep 2013 06:13:53 -0700 (PDT) X-Received: by 10.68.17.230 with SMTP id r6mr13395152pbd.112.1379078033728; Fri, 13 Sep 2013 06:13:53 -0700 (PDT) Received: from localhost ([122.167.78.148]) by mx.google.com with ESMTPSA id pu5sm18005824pac.21.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:13:53 -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, linux-arm-kernel@lists.infradead.org, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH 092/228] cpufreq: arm_big_little: don't initialize part of policy that is set by core too Date: Fri, 13 Sep 2013 18:30:38 +0530 Message-Id: <799a45eb0d50557b20e508e55f98ce2df9e16b76.1379063063.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1379063063.git.viresh.kumar@linaro.org> References: <cover.1379063063.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1379063063.git.viresh.kumar@linaro.org> References: <cover.1379063063.git.viresh.kumar@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 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>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/cpufreq/arm_big_little.c b/drivers/cpufreq/arm_big_little.c index 132c966..f7717ef 100644 --- a/drivers/cpufreq/arm_big_little.c +++ b/drivers/cpufreq/arm_big_little.c @@ -171,8 +171,6 @@ static int bL_cpufreq_init(struct cpufreq_policy *policy) else policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL; - policy->cur = bL_cpufreq_get(policy->cpu); - cpumask_copy(policy->cpus, topology_core_cpumask(policy->cpu)); dev_info(cpu_dev, "%s: CPU %d initialized\n", __func__, policy->cpu);
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/arm_big_little.c | 2 -- 1 file changed, 2 deletions(-)