From patchwork Fri Sep 4 11:48:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.A, Subramaniam" X-Patchwork-Id: 45670 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n84BkVe9029365 for ; Fri, 4 Sep 2009 11:47:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756098AbZIDLrU (ORCPT ); Fri, 4 Sep 2009 07:47:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756066AbZIDLrT (ORCPT ); Fri, 4 Sep 2009 07:47:19 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:58014 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755965AbZIDLrT convert rfc822-to-8bit (ORCPT ); Fri, 4 Sep 2009 07:47:19 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id n84Bl6if024471; Fri, 4 Sep 2009 06:47:12 -0500 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id n84Bl6Q4016189; Fri, 4 Sep 2009 17:17:06 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Fri, 4 Sep 2009 17:17:05 +0530 From: "C.A, Subramaniam" To: "linux-omap@vger.kernel.org" CC: "tony@atomide.com" , "Hiroshi.DOYU@nokia.com" , "rmk@arm.linux.org.uk" , "Kanigeri, Hari" , "Gupta, Ramesh" Date: Fri, 4 Sep 2009 17:18:01 +0530 Subject: [PATCH 5/10] omap mailbox: remove disalbe_/enable_mbox_irq in isr Thread-Topic: [PATCH 5/10] omap mailbox: remove disalbe_/enable_mbox_irq in isr Thread-Index: AcotVY59/+QPZWSJR2Gq7sYINngfQw== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From 20a90cfa9b06b70c495f1699825dd9fded381949 Mon Sep 17 00:00:00 2001 From: Hiroshi DOYU Date: Wed, 2 Sep 2009 20:06:38 +0530 Subject: [PATCH 5/10] omap mailbox: remove disalbe_/enable_mbox_irq in isr No need to handle it in isr, since irq won't happen during isr. Signed-off-by: Hiroshi DOYU --- arch/arm/plat-omap/mailbox.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index 6e713a7..8a6d087 100644 --- a/arch/arm/plat-omap/mailbox.c +++ b/arch/arm/plat-omap/mailbox.c @@ -209,8 +209,6 @@ static void __mbox_rx_interrupt(struct omap_mbox *mbox) mbox_msg_t msg; struct request_queue *q = mbox->rxq->queue; - disable_mbox_irq(mbox, IRQ_RX); - while (!mbox_fifo_empty(mbox)) { rq = blk_get_request(q, WRITE, GFP_ATOMIC); if (unlikely(!rq)) @@ -226,7 +224,6 @@ static void __mbox_rx_interrupt(struct omap_mbox *mbox) /* no more messages in the fifo. clear IRQ source. */ ack_mbox_irq(mbox, IRQ_RX); - enable_mbox_irq(mbox, IRQ_RX); nomem: schedule_work(&mbox->rxq->work); }