From patchwork Sun Feb 27 17:17:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 593461 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1RHHA6g027097 for ; Sun, 27 Feb 2011 17:17:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751440Ab1B0RRJ (ORCPT ); Sun, 27 Feb 2011 12:17:09 -0500 Received: from 80-190-117-144.ip-home.de ([80.190.117.144]:54133 "EHLO bu3sch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038Ab1B0RRH (ORCPT ); Sun, 27 Feb 2011 12:17:07 -0500 Received: by bu3sch.de with esmtpsa (Exim 4.69) (envelope-from ) id 1PtkF0-00019f-O1; Sun, 27 Feb 2011 18:17:06 +0100 Subject: [PATCH] cbus-retu: Fix nested IRQ handling From: Michael Buesch To: Tony Lindgren Cc: Felipe Balbi , linux-omap Date: Sun, 27 Feb 2011 18:17:01 +0100 Message-ID: <1298827021.30857.16.camel@marge> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 27 Feb 2011 17:17:10 +0000 (UTC) Index: linux-omap-2.6/drivers/cbus/retu.c =================================================================== --- linux-omap-2.6.orig/drivers/cbus/retu.c 2011-02-27 18:12:41.147193710 +0100 +++ linux-omap-2.6/drivers/cbus/retu.c 2011-02-27 18:13:23.383428594 +0100 @@ -205,7 +205,7 @@ static irqreturn_t retu_irq_handler(int return IRQ_NONE; } - for (i = 0; idr != 0; i++, idr >>= 1) { + for (i = retu->irq_base; idr != 0; i++, idr >>= 1) { if (!(idr & 1)) continue;