Message ID | 36a527d4db453b0f40585973b85e7ee18e1dc80a.1379063063.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBB6E4ZSIQKGQEVLXUZXQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 000B3202E6 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 13:09:12 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id gd11sf1192987vcb.4 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 06:09:12 -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=tl+fGO/3/wRQAwBQjeYdavQoo+JhDE2Ek8R+HJzXQDw=; b=dWQpHygVEdSXyi2l+yvNaeRhA6TduwE/6EIRFnQMWqb3C8nBnw3+ldhdUdhfU8bc8H 4Pd0x4uc1cWhlIzwwTqWrZQjADS2WTvok0cs8j5VWavkD3fWqPdnyoD3BMJiJYpxN5lM nfx4OL/ltGubGfap5M05TIYUbc/PjTLAsJzetwrQJ17XSRM/8tQPoj7/ftV1XwTb1ZN0 JNmvTh1QkLht+prYn0uHKWJiJQ7vJWR8ofdUQ621iBOGUkLiUUXLiOad8Xeryl9R9knl o3rrbdRNj3xvL3kUfVo+chn2ooB2I/aIusQRb0DlYd3FjwnQfFdA0duBP3KZeXryFXC/ CH7g== X-Gm-Message-State: ALoCoQlF7gd7iG58TTeCLrEkNmw0m6B9zHguDohT+/aNBy1P6WofL6kvRqOjSXl8qqopxIG0CKGZ X-Received: by 10.236.93.45 with SMTP id k33mr5142700yhf.19.1379077752725; Fri, 13 Sep 2013 06:09:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.210 with SMTP id c18ls1279492qey.37.gmail; Fri, 13 Sep 2013 06:09:12 -0700 (PDT) X-Received: by 10.58.207.103 with SMTP id lv7mr213517vec.33.1379077752489; Fri, 13 Sep 2013 06:09:12 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id fb4si3115740veb.12.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:09:12 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 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.182; Received: by mail-ve0-f182.google.com with SMTP id oy12so944673veb.13 for <patchwork-forward@linaro.org>; Fri, 13 Sep 2013 06:09:12 -0700 (PDT) X-Received: by 10.58.190.34 with SMTP id gn2mr28670vec.34.1379077752395; Fri, 13 Sep 2013 06:09:12 -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 u4csp79762vcz; Fri, 13 Sep 2013 06:09:11 -0700 (PDT) X-Received: by 10.68.162.194 with SMTP id yc2mr13262288pbb.141.1379077751509; Fri, 13 Sep 2013 06:09:11 -0700 (PDT) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx.google.com with ESMTPS id g6si11135279pav.266.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:09:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.53 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.220.53; Received: by mail-pa0-f53.google.com with SMTP id lb1so2496602pab.40 for <patches@linaro.org>; Fri, 13 Sep 2013 06:09:10 -0700 (PDT) X-Received: by 10.66.65.108 with SMTP id w12mr1805482pas.183.1379077750639; Fri, 13 Sep 2013 06:09:10 -0700 (PDT) Received: from localhost ([122.167.78.148]) by mx.google.com with ESMTPSA id kd1sm17984285pab.20.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:09:09 -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>, Santosh Shilimkar <santosh.shilimkar@ti.com> Subject: [PATCH 052/228] cpufreq: omap: call cpufreq_frequency_table_put_attr() Date: Fri, 13 Sep 2013 18:29:58 +0530 Message-Id: <36a527d4db453b0f40585973b85e7ee18e1dc80a.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.182 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/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index b68ce4e..091f233 100644 --- a/drivers/cpufreq/omap-cpufreq.c +++ b/drivers/cpufreq/omap-cpufreq.c @@ -221,6 +221,7 @@ fail_ck: static int omap_cpu_exit(struct cpufreq_policy *policy) { + cpufreq_frequency_table_put_attr(policy->cpu); freq_table_free(); clk_put(mpu_clk); return 0;
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. Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/omap-cpufreq.c | 1 + 1 file changed, 1 insertion(+)