From: Frank Mori Hess Date: Mon, 13 May 2002 02:35:56 +0000 (+0000) Subject: fixing config insn X-Git-Tag: r0_7_65~48 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5fb685faca237951bb3b0651e4df21e11d47b85b;p=comedi.git fixing config insn --- diff --git a/comedi/drivers/cb_pcidas64.c b/comedi/drivers/cb_pcidas64.c index 3a6d4a9d..852c6a26 100644 --- a/comedi/drivers/cb_pcidas64.c +++ b/comedi/drivers/cb_pcidas64.c @@ -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;