From patchwork Tue Apr 6 17:56:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sripathy, Vishwanath" X-Patchwork-Id: 90783 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o36CIuDQ022733 for ; Tue, 6 Apr 2010 12:18:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754256Ab0DFMS4 (ORCPT ); Tue, 6 Apr 2010 08:18:56 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:57445 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754030Ab0DFMSz (ORCPT ); Tue, 6 Apr 2010 08:18:55 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o36CIq1l012511 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Apr 2010 07:18:54 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o36CIoe3005825; Tue, 6 Apr 2010 17:48:51 +0530 (IST) From: Vishwanath BS To: linux-omap@vger.kernel.org Cc: Vishwanath BS Subject: [PM-WIP-OPP][PATCH] OMAP3 PM: Fix issue with opp_find_freq_floor Date: Wed, 7 Apr 2010 01:56:36 +0800 Message-Id: <1270576596-8761-1-git-send-email-vishwanath.bs@ti.com> X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <> References: <> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 06 Apr 2010 12:18:58 +0000 (UTC) diff --git a/arch/arm/plat-omap/opp.c b/arch/arm/plat-omap/opp.c index bb8120e..13da451 --- a/arch/arm/plat-omap/opp.c +++ b/arch/arm/plat-omap/opp.c @@ -208,7 +208,7 @@ struct omap_opp *opp_find_freq_floor(enum opp_t opp_type, unsigned long *freq) *freq = prev_opp->rate; - return oppl; + return prev_opp; } /* wrapper to reuse converting opp_def to opp struct */