From patchwork Thu Jul 29 10:16:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 115040 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6TABn5M006472 for ; Thu, 29 Jul 2010 10:22:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752016Ab0G2KQx (ORCPT ); Thu, 29 Jul 2010 06:16:53 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:28804 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756637Ab0G2KQq (ORCPT ); Thu, 29 Jul 2010 06:16:46 -0400 X-IronPort-AV: E=Sophos;i="4.55,279,1278302400"; d="scan'208";a="107549399" Received: from ftlpexchmx01.citrite.net ([10.9.154.126]) by FTLPIPO02.CITRIX.COM with ESMTP; 29 Jul 2010 06:16:45 -0400 Received: from smtp01.ad.xensource.com ([10.219.128.104]) by FTLPEXCHMX01.citrite.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 29 Jul 2010 06:16:45 -0400 Received: from localhost.localdomain (cosworth.uk.xensource.com [10.80.16.52]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id o6TAGZMd020550; Thu, 29 Jul 2010 03:16:44 -0700 From: Ian Campbell To: linux-kernel@vger.kernel.org Cc: Ian Campbell , Thomas Gleixner , Dmitry Torokhov , linux-input@vger.kernel.org Subject: [PATCH 2/4] ixp4xx-beeper: Use IRQF_NO_SUSPEND not IRQF_TIMER for non-timer interrupt Date: Thu, 29 Jul 2010 11:16:33 +0100 Message-Id: <1280398595-29708-2-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1280398573.24292.1684.camel@zakaz.uk.xensource.com> References: <1280398573.24292.1684.camel@zakaz.uk.xensource.com> X-OriginalArrivalTime: 29 Jul 2010 10:16:45.0788 (UTC) FILETIME=[25EEE1C0:01CB2F07] Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 29 Jul 2010 10:23:00 +0000 (UTC) diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c index 9946d73..9dfd6e5 100644 --- a/drivers/input/misc/ixp4xx-beeper.c +++ b/drivers/input/misc/ixp4xx-beeper.c @@ -115,7 +115,8 @@ static int __devinit ixp4xx_spkr_probe(struct platform_device *dev) input_dev->event = ixp4xx_spkr_event; err = request_irq(IRQ_IXP4XX_TIMER2, &ixp4xx_spkr_interrupt, - IRQF_DISABLED | IRQF_TIMER, "ixp4xx-beeper", (void *) dev->id); + IRQF_DISABLED | IRQF_NO_SUSPEND, "ixp4xx-beeper", + (void *) dev->id); if (err) goto err_free_device;