Received: from mail.onstor.com ([66.201.51.107]) by onstor-exch02.onstor.net with Microsoft SMTPSVC(6.0.3790.3959);
	 Sun, 26 Oct 2008 18:31:36 -0700
Received: from chiesmta2-1.messageone.com ([216.203.30.55]) by mail.onstor.com with Microsoft SMTPSVC(6.0.3790.3959);
	 Sun, 26 Oct 2008 18:31:35 -0700
Received: from ftp.linux-mips.org (ftp.linux-mips.org [213.58.128.207])
	by chiesmta2-1.messageone.com (8.13.8/8.13.8) with ESMTP id m9R1VXjF016345
	for <andy.sharp@onstor.com>; Sun, 26 Oct 2008 20:31:34 -0500
Received: from localhost.localdomain ([127.0.0.1]:10384 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP
	id S22453094AbYJ0Ba5 (ORCPT <rfc822;andy.sharp@onstor.com>);
	Mon, 27 Oct 2008 01:30:57 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 27 Oct 2008 01:30:40 +0000 (GMT)
Received: from orbit.nwl.cc ([81.169.176.177]:58497 "EHLO
	mail.ifyouseekate.net") by ftp.linux-mips.org with ESMTP
	id S22453092AbYJ0Baf (ORCPT <rfc822;linux-mips@linux-mips.org>);
	Mon, 27 Oct 2008 01:30:35 +0000
Received: from base (localhost [127.0.0.1])
	by mail.ifyouseekate.net (Postfix) with ESMTP id CF5F038C5FBA;
	Mon, 27 Oct 2008 02:30:29 +0100 (CET)
From: Phil Sutter <n0-1@freewrt.org>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Linux-Mips List <linux-mips@linux-mips.org>,
        Florian Fainelli <florian@openwrt.org>
Subject: [PATCH] irq handler must disable the handled irq
Date: 	Mon, 27 Oct 2008 02:30:26 +0100
Message-Id: <1225071026-32739-1-git-send-email-n0-1@freewrt.org>
X-Mailer: git-send-email 1.5.6.4
In-Reply-To: <20081026103635.GA10490@linux-mips.org>
References: <20081026103635.GA10490@linux-mips.org>
X-archive-position: 20980
X-ecartis-version: Ecartis v1.0.0
Sender: linux-mips-bounce@linux-mips.org
Errors-to: linux-mips-bounce@linux-mips.org
X-original-sender: n0-1@freewrt.org
Precedence: bulk
X-list: 	linux-mips
X-MessageOne-Virus-Version: vendor=fsecure engine=4.65.7400:2.4.4,1.2.40,4.0.164 definitions=2008-10-26_02:2008-10-10,2008-10-26,2008-10-25 signatures=0
X-MessageOne-Virus-Scanned: Clean
X-MessageOne-Envelope-Sender: linux-mips-bounce@linux-mips.org
X-MessageOne-Spam-Details: rule=m773emszm_notspam policy=m773emszm score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=3.1.0-0810130000 definitions=main-0810260206
X-MessageOne-Spam-Score: 0
X-MessageOne-Spam-Bar: 
Return-Path: linux-mips-bounce@linux-mips.org
X-OriginalArrivalTime: 27 Oct 2008 01:31:36.0068 (UTC) FILETIME=[C04D2C40:01C937D3]

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 drivers/ata/pata_rb532_cf.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/pata_rb532_cf.c b/drivers/ata/pata_rb532_cf.c
index f8b3ffc..a1d44a6 100644
--- a/drivers/ata/pata_rb532_cf.c
+++ b/drivers/ata/pata_rb532_cf.c
@@ -116,6 +116,8 @@ static irqreturn_t rb532_pata_irq_handler(int irq, void *dev_instance)
 		set_irq_type(info->irq, IRQ_TYPE_LEVEL_HIGH);
 	}
 
+	disable_irq(irq);
+
 	return IRQ_HANDLED;
 }
 
-- 
1.5.6.4


