fixing config insn
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 13 May 2002 02:35:56 +0000 (02:35 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 13 May 2002 02:35:56 +0000 (02:35 +0000)
comedi/drivers/cb_pcidas64.c

index 3a6d4a9d4909b4256d722ed126b06242a2a278e6..852c6a2666bd3b2544943b88009efb537e8dfab8 100644 (file)
@@ -1360,10 +1360,11 @@ static int ai_config_insn( comedi_device *dev, comedi_subdevice *s, comedi_insn
        switch( id )
        {
                case INSN_CONFIG_ALT_SOURCE:
-                       ai_config_calibration_source( dev, data );
+                       return ai_config_calibration_source( dev, data );
                        break;
                case INSN_CONFIG_DIGITAL_TRIG:
-                       ai_config_digital_trigger( dev, data );
+                       return ai_config_digital_trigger( dev, data );
+                       break;
                default:
                        return -EINVAL;
                        break;