From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [update, rev. 6] Re: [PATCH 1/10] PM: Rework handling of interrupts during suspend-resume (rev. 5) Date: Fri, 13 Mar 2009 17:53:37 +0100 Message-ID: <200903131753.39076.rjw__39409.4915980988$1236963535$gmane$org@sisk.pl> References: <200902221837.49396.rjw@sisk.pl> <200903122243.27452.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Arve =?iso-8859-1?q?Hj=F8nnev=E5g?= Cc: Jeremy Fitzhardinge , Frans Pop , LKML , Jesse Barnes , "Eric W. Biederman" , pm list , Thomas Gleixner , Linus Torvalds , Ingo Molnar List-Id: linux-pm@vger.kernel.org On Friday 13 March 2009, Arve Hj=F8nnev=E5g wrote: > On Thu, Mar 12, 2009 at 1:43 PM, Rafael J. Wysocki wrote: > > > > +void __disable_irq(struct irq_desc *desc, unsigned int irq, bool suspe= nd) > > +{ > > + if (suspend) { > > + if (desc->action && (desc->action->flags & IRQF_TIMER)) > > + return; > = > Don't you want "(!desc->action || ..." here to avoid enabling unused > interrupts on resume? Hmm, good idea, thanks. Best, Rafael