From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Mickler Subject: Re: [linux-pm] suspend blockers & Android integration Date: Mon, 7 Jun 2010 15:01:31 +0200 Message-ID: <20100607150131.2038b802@schatten.dmk.lab> References: <20100606133130.GA8513@srcf.ucam.org> <20100606152946.GA11351@srcf.ucam.org> <20100606164326.GA12570@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: linux-omap@vger.kernel.org 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