Message ID | 36a527d4db453b0f40585973b85e7ee18e1dc80a.1379063063.git.viresh.kumar@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 795559F1BF for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 13 Sep 2013 16:50:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 58C70202A1 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 13 Sep 2013 16:50:07 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 601EC20299 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 13 Sep 2013 16:50:05 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKTDA-00021L-DT; Fri, 13 Sep 2013 13:15:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKTCm-0006uf-BQ; Fri, 13 Sep 2013 13:14:36 +0000 Received: from mail-pd0-f176.google.com ([209.85.192.176]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKT7s-0006AB-4M for linux-arm-kernel@lists.infradead.org; Fri, 13 Sep 2013 13:09:41 +0000 Received: by mail-pd0-f176.google.com with SMTP id q10so1228035pdj.21 for <linux-arm-kernel@lists.infradead.org>; Fri, 13 Sep 2013 06:09:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=tl+fGO/3/wRQAwBQjeYdavQoo+JhDE2Ek8R+HJzXQDw=; b=E098cnG9vqWTCW0kv/b8BdmZj06oFqhMrexCWWLgiAdAefvFprpsqV4KPOYoB0gf4K NasnQe6C7VKhj63ZVq19u+PQR5popZaDpBaihEE0Caf8SQDfDdxFr1MMhASMViN4Rynh 1OMQHMT9yaFi96O81x6f7eTBcFlugUT8xqE22vMS+3n/bP6LbHUcSygC6B8Xaq0f2FYP pOTUHONCiWM11x66EtwOY9XI1Rda/rYIkcactgzWfbSLfvutyrDxF28cr/WyQ1tqXBYT lExapYBIzkUCLsA18418QQuoBbKsT97gZv6gtYQi02aLOA3dM2FEddKREb608Y7Yf/4p WL4Q== X-Gm-Message-State: ALoCoQlvzjig3ZPU/fHUyqApWScMkTvgOMmxMV2cvADzfQOrykMUtWVQ41rvhD4qRhWMS5LeeXPh 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130913_090932_757230_89704537 X-CRM114-Status: UNSURE ( 8.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Viresh Kumar <viresh.kumar@linaro.org>, patches@linaro.org, linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org, Santosh Shilimkar <santosh.shilimkar@ti.com>, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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(+)