Module: xenomai-forge
Branch: next
Commit: 320bcddbea827a970998bbaee4977c0660ed7594
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=320bcddbea827a970998bbaee4977c0660ed7594

Author: Jorge Ramirez-Ortiz <j...@xenomai.org>
Date:   Mon Aug 11 12:18:25 2014 -0400

drivers/analogy: report error when releasing an irq handler

---

 kernel/drivers/analogy/transfer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/analogy/transfer.c 
b/kernel/drivers/analogy/transfer.c
index 88c4c84..2594f00 100644
--- a/kernel/drivers/analogy/transfer.c
+++ b/kernel/drivers/analogy/transfer.c
@@ -192,7 +192,7 @@ int a4l_free_irq(struct a4l_device * dev, unsigned int irq)
        if (ret == 0)
                dev->transfer.irq_desc.irq = A4L_IRQ_UNUSED;
 
-       return 0;
+       return ret;
 }
 
 unsigned int a4l_get_irq(struct a4l_device * dev)


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to