From patchwork Mon Aug 6 14:18:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1279571 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id D2DD7DF288 for ; Mon, 6 Aug 2012 14:26:40 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SyODG-0006rW-CV; Mon, 06 Aug 2012 14:23:18 +0000 Received: from na3sys009aog117.obsmtp.com ([74.125.149.242]) by merlin.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1SyOCv-0006kb-Gl for linux-arm-kernel@lists.infradead.org; Mon, 06 Aug 2012 14:22:58 +0000 Received: from mail-lpp01m010-f53.google.com ([209.85.215.53]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKUB/TM3a/rligyro1sxrgAnYHhqFEBS+i@postini.com; Mon, 06 Aug 2012 07:22:57 PDT Received: by lahc1 with SMTP id c1so610753lah.12 for ; Mon, 06 Aug 2012 07:22:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=BK5jIO4Amw2ZpB7DWCIsHfRoouJCVnBQwOxEvMUenho=; b=dyHuvtkCMHLT83rRexIHF0neUHr1i3Dd8HMiCZ3EmIJOZTSZ7n5kjJGIUkoCWanC8+ fyk0ZbX7PnF1VajC4crqonlHZ8Q+MGORCJU0hXnF924Z+8iluXDC4/UvnEBdf0pdspS0 wmyjg2zxvVIafOuSeiz4lVX7xrWBh7D3XAf/H0uvyLI8s2IuBeGmv/40EXrfqon0Nx7b SI3eJPu+5WBO5TzIHmVf5SgiNDtVgk4gIEqaa5xdSy9vCaVYSOPWaDZ5xZ/Lv2a48u57 7HLCRg0DMssg07rKRfxDIwTDAZPihIcYWws1YcKu7AzprtN5Rs432OG+gScUpxt90UUA NMng== Received: by 10.112.87.66 with SMTP id v2mr4712352lbz.47.1344262955038; Mon, 06 Aug 2012 07:22:35 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id ly17sm6156318lab.2.2012.08.06.07.22.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2012 07:22:32 -0700 (PDT) From: Felipe Balbi To: Shubhrajyoti Datta Subject: [PATCH 1/4] i2c: omap: always return IRQ_HANDLED Date: Mon, 6 Aug 2012 17:18:54 +0300 Message-Id: <1344262737-6662-2-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.12.rc0 In-Reply-To: <1344262737-6662-1-git-send-email-balbi@ti.com> References: <1344262737-6662-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQnDwoeJ75ZYLr9pwPzgERGlTODCMIhMcGej9KiY3uJ3Ke9WEq50Pjv6XsnZoLM/8gkCMPox X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [74.125.149.242 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Linux OMAP Mailing List , Felipe Balbi , w.sang@pengutronix.de, Linux ARM Kernel Mailing List X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org even if our clocks are disabled, we still handled the IRQ, so we should return IRQ_HANDLED. Signed-off-by: Felipe Balbi --- drivers/i2c/busses/i2c-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 2dd2301..f5eafb7 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -862,7 +862,7 @@ omap_i2c_isr(int this_irq, void *dev_id) int err = 0, count = 0; if (pm_runtime_suspended(dev->dev)) - return IRQ_NONE; + return IRQ_HANDLED; do { bits = omap_i2c_read_reg(dev, OMAP_I2C_IE_REG);