Module: xenomai-2.5
Branch: master
Commit: a301772cf408165481fd3d6a7bfb0d3af40545c2
URL:    
http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=a301772cf408165481fd3d6a7bfb0d3af40545c2

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Sat Sep  4 00:30:10 2010 +0200

analogy: comsetic change in mite.c

---

 ksrc/drivers/analogy/national_instruments/mite.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ksrc/drivers/analogy/national_instruments/mite.c 
b/ksrc/drivers/analogy/national_instruments/mite.c
index da1f6a5..9b0394a 100644
--- a/ksrc/drivers/analogy/national_instruments/mite.c
+++ b/ksrc/drivers/analogy/national_instruments/mite.c
@@ -332,10 +332,10 @@ void mite_release_channel(struct mite_channel *mite_chan)
        struct mite_struct *mite = mite_chan->mite;
        unsigned long flags;
 
-       // spin lock to prevent races with mite_request_channel
+       /* Spin lock to prevent races with mite_request_channel */
        a4l_lock_irqsave(&mite->lock, flags);
        if (mite->channel_allocated[mite_chan->channel]) {
-               // disable all channel's interrupts
+               /* disable all channel's interrupts */
                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 |


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to