Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933675Ab3HHCdg (ORCPT ); Wed, 7 Aug 2013 22:33:36 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:45293 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932796Ab3HHCde (ORCPT ); Wed, 7 Aug 2013 22:33:34 -0400 MIME-Version: 1.0 In-Reply-To: <2331427.ybQdfvflPh@vostro.rjw.lan> References: <1375874171-16951-1-git-send-email-amit.daniel@samsung.com> <52022FC2.2010109@arm.com> <2331427.ybQdfvflPh@vostro.rjw.lan> Date: Thu, 8 Aug 2013 08:03:33 +0530 Message-ID: Subject: Re: [PATCH] cpufreq: exynos5440: Fix to skip when new frequency same as current From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Sudeep KarkadaNagesha , Amit Daniel Kachhap , Kukjin Kim , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-samsung-soc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Lists linaro-kernel Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 728 Lines: 15 On 8 August 2013 04:55, Rafael J. Wysocki wrote: > It looks like it would require us to redefine .target() to take next_state > instead of target_freq (at least in the acpi-cpufreq case), wouldn't it? If we don't do it, then atleast for few drivers, like acpi-cpufreq, which use index more than just for frequency, we may end up calling cpufreq_frequency_table_target() twice. Once in the core and then in driver. I believe this is doable and will post a patch soon. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/