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

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Mon Jun 21 00:37:54 2010 +0200

analogy: [ni_pcimio] add the missing allocation of the digital ring

---

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

diff --git a/ksrc/drivers/analogy/national_instruments/pcimio.c 
b/ksrc/drivers/analogy/national_instruments/pcimio.c
index 2df47a7..7e2e87e 100644
--- a/ksrc/drivers/analogy/national_instruments/pcimio.c
+++ b/ksrc/drivers/analogy/national_instruments/pcimio.c
@@ -1497,11 +1497,13 @@ static int pcimio_attach(a4l_dev_t *dev, a4l_lnkdesc_t 
*arg)
 
        devpriv->ai_mite_ring = mite_alloc_ring(mite);
        devpriv->ao_mite_ring = mite_alloc_ring(mite);
+       devpriv->cdo_mite_ring = mite_alloc_ring(mite);
        devpriv->gpct_mite_ring[0] = mite_alloc_ring(mite);
        devpriv->gpct_mite_ring[1] = mite_alloc_ring(mite);
 
        if(devpriv->ai_mite_ring == NULL ||
           devpriv->ao_mite_ring == NULL ||
+          devpriv->cdo_mite_ring == NULL ||
           devpriv->gpct_mite_ring[0] == NULL ||
           devpriv->gpct_mite_ring[1] == NULL)
                return -ENOMEM;


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

Reply via email to