Message ID | 813a5373449195cdefa62490df1c0ce5f6db58aa.1376116345.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBNWES6IAKGQE2H57YSA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D0406246EB for <linaro@patches.linaro.org>; Sat, 10 Aug 2013 06:48:22 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id hf12sf2403293vcb.11 for <linaro@patches.linaro.org>; Fri, 09 Aug 2013 23:48:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state: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=TMGGT4bkNDFAxuWlw/x2h2h8iMin/aJQjy7Yu66S1bubncVf84+zMmGoC0+JJcx/3N +lsL2Z/7URcvjJoKp+ZDSXVGThTSdlLgKFiZZmjZovQKWB9GM2qaqDe/FQ5WZOJrWp4m aBWd+Vr7T/WjxixS2bfPpLL1iObzbXb6KA2mItDQjgQ2Hyz9mljAamWGo5XytE+JYRi4 3WJuM7tZ6pe8UyZSf6/YnW/Tm8sD21GQU6SvIyWp/WOyrsVfT+GYcB+DhnedFEr1Ed1q xPs4+UunK6AHgSqZb9frisemK1GQqEgkFH97vpYt8HhMmsMz2DWoOlo8dUjXlECQ8RZv ZavA== X-Received: by 10.224.169.1 with SMTP id w1mr15904352qay.4.1376117302495; Fri, 09 Aug 2013 23:48:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.1.168 with SMTP id 8ls1636117qen.8.gmail; Fri, 09 Aug 2013 23:48:22 -0700 (PDT) X-Received: by 10.59.9.69 with SMTP id dq5mr7434211ved.87.1376117302388; Fri, 09 Aug 2013 23:48:22 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id pa20si5673181veb.128.2013.08.09.23.48.22 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 23:48:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.181 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.181; Received: by mail-ve0-f181.google.com with SMTP id jz10so4407024veb.40 for <patchwork-forward@linaro.org>; Fri, 09 Aug 2013 23:48:22 -0700 (PDT) X-Gm-Message-State: ALoCoQkqf5RGMMtCHDAmw4MwCX2WDdoyWNVt00jPFXlJmAh5dgAXWEbntj4eBlH+2IopmQdmR4ta X-Received: by 10.58.6.210 with SMTP id d18mr2142447vea.96.1376117302302; Fri, 09 Aug 2013 23:48:22 -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 u4csp91vcz; Fri, 9 Aug 2013 23:48:21 -0700 (PDT) X-Received: by 10.66.149.73 with SMTP id ty9mr14766479pab.36.1376117301371; Fri, 09 Aug 2013 23:48:21 -0700 (PDT) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx.google.com with ESMTPS id x6si15759274pab.223.2013.08.09.23.48.20 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 23:48:21 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.54 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.160.54; Received: by mail-pb0-f54.google.com with SMTP id ro12so5246646pbb.27 for <patches@linaro.org>; Fri, 09 Aug 2013 23:48:20 -0700 (PDT) X-Received: by 10.69.0.9 with SMTP id au9mr15238491pbd.62.1376117300804; Fri, 09 Aug 2013 23:48:20 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id s5sm24124735pbo.38.2013.08.09.23.48.17 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 09 Aug 2013 23:48:20 -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, Viresh Kumar <viresh.kumar@linaro.org>, Santosh Shilimkar <santosh.shilimkar@ti.com> Subject: [PATCH 05/44] cpufreq: omap: call cpufreq_frequency_table_put_attr() Date: Sat, 10 Aug 2013 12:14:01 +0530 Message-Id: <813a5373449195cdefa62490df1c0ce5f6db58aa.1376116345.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1376116344.git.viresh.kumar@linaro.org> References: <cover.1376116344.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1376116344.git.viresh.kumar@linaro.org> References: <cover.1376116344.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.181 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(+)