/* fl512_ao_insn_readback : used to read previous values written to DA port  */
static int fl512_ao_insn_readback(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
/* fl512_ao_insn_readback : used to read previous values written to DA port  */
static int fl512_ao_insn_readback(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
{
	int n;
	int chan = CR_CHAN(insn->chanspec);
	for (n = 0; n < insn->n; n++) {
		data[n] = devpriv->ao_readback[chan];
	}
	return n;
}