unsigned int act_chanlist[16]; /* MUX setting for actual AI operations */
unsigned int act_chanlist_len; /* how long is actual MUX list */
unsigned int act_chanlist_pos; /* actual position in MUX list */
- unsigned int *ai_chanlist; /* actaul chanlist */
unsigned int ai_data_len; /* len of data buffer */
unsigned char usefifo; /* 1=use fifo */
unsigned int ao_readback[2];
pcl818_start_pacer(dev, false);
- seglen = check_channel_list(dev, s, devpriv->ai_chanlist,
- cmd->chanlist_len);
+ seglen = check_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len);
if (seglen < 1)
return -EINVAL;
- setup_channel_list(dev, s, devpriv->ai_chanlist,
- cmd->chanlist_len, seglen);
+ setup_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len, seglen);
udelay(1);
struct comedi_cmd *cmd = &s->async->cmd;
int retval;
- devpriv->ai_chanlist = cmd->chanlist;
devpriv->ai_data_len = s->async->prealloc_bufsz;
if (cmd->stop_src == TRIG_COUNT)