Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754015Ab0FGNBy (ORCPT ); Mon, 7 Jun 2010 09:01:54 -0400 Received: from ist.d-labs.de ([213.239.218.44]:53834 "EHLO mx01.d-labs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751735Ab0FGNBw (ORCPT ); Mon, 7 Jun 2010 09:01:52 -0400 Date: Mon, 7 Jun 2010 15:01:31 +0200 From: Florian Mickler To: Vitaly Wool Cc: Matthew Garrett , Brian Swetland , Arve =?ISO-8859-15?Q?Hj=F8nnev=E5g?= , Arjan van de Ven , tytso@mit.edu, Peter Zijlstra , "H. Peter Anvin" , LKML , Neil Brown , James Bottomley , Alan Cox , Linux PM , Ingo Molnar , Linux OMAP Mailing List , Linus Torvalds , Thomas Gleixner , Felipe Balbi Subject: Re: [linux-pm] suspend blockers & Android integration Message-ID: <20100607150131.2038b802@schatten.dmk.lab> In-Reply-To: References: <20100606133130.GA8513@srcf.ucam.org> <20100606152946.GA11351@srcf.ucam.org> <20100606164326.GA12570@srcf.ucam.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 825 Lines: 29 On Sun, 6 Jun 2010 19:21:49 +0200 Vitaly Wool wrote: > 2010/6/6 Matthew Garrett : > > > Suspend blocks prevent system suspend, not any per-device suspend. > > Can you suspend a device which is holding a wake lock? > > ~Vitaly If you look at the suspend blocker patchset, you'll see that the only patches adding calls to "suspend_is_blocked()" are PM: Opportunistic suspend support and PM: Abort task freezing if there is an active suspend blocker . Both are in generic suspend code and don't affect runtime pm. Cheers, Flo -- 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/