Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933546Ab1CXArc (ORCPT ); Wed, 23 Mar 2011 20:47:32 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:35182 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933426Ab1CXAr3 convert rfc822-to-8bit (ORCPT ); Wed, 23 Mar 2011 20:47:29 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 23 Mar 2011 17:47:27 -0700 Message-ID: Subject: Re: Update on Android PM enhancements - CONFIG_HAS_EARLYSUSPEND and friends From: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= To: "Luis R. Rodriguez" Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , devel@linuxdriverproject.org, Naveen Singh , Kalle Valo , Benjamin Herrenschmidt , Jouni Malinen , Vipin Mehta , linux-wireless Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1525 Lines: 35 2011/3/23 Luis R. Rodriguez : > Arve, > > What ever happened with your series on the Android PM extensions you > had submitted in 2009 [1] ? I'm working on ath6kl right now and I'm > going to remove all that early suspend crap as its not upstream and I > want to get ath6kl into upstream proper. Do you have plans for a > replacement? There is no planned replacement for early suspend, and it will probably be dropped form the android kernel at some point. The wifi driver use it to enter a lower operating state when the screen is off. If you driver does have any other way to put the driver in this state you need to add an interface that lets user-space select that state directly. > Since the thread covers wake locks, have you ironed out > what you are going to do with that as well? > The wakelock code did not get merged. Instead there is a new interface that should provide the same functionality to drivers, but this has not integrated with android yet (and you cannot use it directly as it does not provide the same user-space interface). In theory, you should be able to replace all the wakelocks in your driver with calls to the mainline api. Even if you cannot test the result this is better than just deleting the wakelocks. -- Arve Hj?nnev?g -- 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/