Message ID | 38dc2874eabe153bbe4a042d15746c3c62913eb3.1379063063.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBXE4ZSIQKGQEOIMUN4Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f200.google.com (mail-ye0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4CCEB202E6 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 13:08:44 +0000 (UTC) Received: by mail-ye0-f200.google.com with SMTP id r3sf1150367yen.11 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 06:08:44 -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=m7KDy34TTqGUzpR+kSX1ps4oEVkLURRnJ2DH1SkWgWc=; b=ODwlqGm8hlllIl+eGy4OfhBj5qQt8gbfCDB3Z7ptUDQWaYLva7PxRYLKEtfyX41zgg VbqdZpqFXB9K6PCE0mXlvEPo7DU4QRKAV01wRTnF7gqutIs3GzWIkqwr2togQGjH7uhM okuhEiJzYmmhPcN/AP41LIKprSzDAw1unb/oT/kkwbrwka2bW/XD/jBcSUGt6CLxE9KL CuvUC3c9I8MEyRoj9SAnGFCjyVoIzBEn7MiOGlZUnGjLaTAZmpduvKgR5jYQ/3s30/Do xO2Sf8x7zHa6dNaU8zL9iWaBtZnetqXFcRY+Gz2hMkIjoXxeTXHECjWdajExZT3RXlwW h5ZA== X-Gm-Message-State: ALoCoQmamIeh/cnSnicjIHzg59Ip3Y4tc9WPjGTodtW+2a1TnT8h0aduV40VtWmX7TPDZSyeMQJw X-Received: by 10.236.75.201 with SMTP id z49mr5131810yhd.0.1379077724070; Fri, 13 Sep 2013 06:08:44 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.70 with SMTP id i6ls1114652qei.26.gmail; Fri, 13 Sep 2013 06:08:43 -0700 (PDT) X-Received: by 10.52.122.68 with SMTP id lq4mr10091497vdb.21.1379077723880; Fri, 13 Sep 2013 06:08:43 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ya5si3095197vec.95.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:08:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id if17so429853vcb.18 for <patchwork-forward@linaro.org>; Fri, 13 Sep 2013 06:08:43 -0700 (PDT) X-Received: by 10.58.100.234 with SMTP id fb10mr12084260veb.5.1379077723802; Fri, 13 Sep 2013 06:08:43 -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 u4csp79736vcz; Fri, 13 Sep 2013 06:08:43 -0700 (PDT) X-Received: by 10.66.26.77 with SMTP id j13mr2019110pag.166.1379077722870; Fri, 13 Sep 2013 06:08:42 -0700 (PDT) Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by mx.google.com with ESMTPS id xn6si7405440pbc.212.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:08:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.48 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.160.48; Received: by mail-pb0-f48.google.com with SMTP id ma3so1209095pbc.35 for <patches@linaro.org>; Fri, 13 Sep 2013 06:08:42 -0700 (PDT) X-Received: by 10.68.25.170 with SMTP id d10mr13577346pbg.78.1379077722449; Fri, 13 Sep 2013 06:08:42 -0700 (PDT) Received: from localhost ([122.167.78.148]) by mx.google.com with ESMTPSA id om2sm11658871pbc.30.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:08:41 -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 048/228] cpufreq: arm_big_little: call cpufreq_frequency_table_put_attr() Date: Fri, 13 Sep 2013 18:29:54 +0530 Message-Id: <38dc2874eabe153bbe4a042d15746c3c62913eb3.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.220.173 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 8cb6dbc..2c7c134 100644 --- a/drivers/cpufreq/arm_big_little.c +++ b/drivers/cpufreq/arm_big_little.c @@ -198,6 +198,7 @@ static int bL_cpufreq_exit(struct cpufreq_policy *policy) return -ENODEV; } + cpufreq_frequency_table_put_attr(policy->cpu); put_cluster_clk_and_freq_table(cpu_dev); dev_dbg(cpu_dev, "%s: Exited, cpu: %d\n", __func__, policy->cpu);
Drivers which have an exit path must call cpufreq_frequency_table_put_attr() if they have called cpufreq_frequency_table_get_attr() in their init path. This driver was missing this part and is fixed with this patch. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/arm_big_little.c | 1 + 1 file changed, 1 insertion(+)