From 4776f6e4fcbae39c8d084da4703573b3bf0115f3 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 18 Jun 2007 13:53:00 +0000 Subject: [PATCH] Fixed disabling of interrupts in mite_setup(). --- comedi/drivers/mite.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index a5604118..f2276fd8 100644 --- a/comedi/drivers/mite.c +++ b/comedi/drivers/mite.c @@ -186,7 +186,9 @@ int mite_setup(struct mite_struct *mite) for( i = 0; i < mite->num_channels; i++ ) { writel(CHOR_DMARESET, mite->mite_io_addr + MITE_CHOR(i)); /* disable interrupts */ - writel(0, mite->mite_io_addr + MITE_CHCR(i)); + writel(CHCR_CLR_DMA_IE | CHCR_CLR_LINKP_IE | CHCR_CLR_SAR_IE | CHCR_CLR_DONE_IE | + CHCR_CLR_MRDY_IE | CHCR_CLR_DRDY_IE | CHCR_CLR_LC_IE | CHCR_CLR_CONT_RB_IE, + mite->mite_io_addr + MITE_CHCR(i)); } mite->used = 1; -- 2.26.2