Re: [PATCH 13/22] staging: comedi: adv_pci1710: don't check the chanlist twice

2014-04-24 Thread Ian Abbott
On 24/04/14 18:35, Hartley Sweeten wrote: On Thursday, April 24, 2014 4:06 AM, Ian Abbott wrote: On 2014-04-24 00:07, H Hartley Sweeten wrote: The chanlist is checked in Step 5 of the (*do_cmdtest) there is no reason to check it again in the (*do_cmd). The only reasonm its done is to get the

[PATCH 13/22] staging: comedi: adv_pci1710: don't check the chanlist twice

2014-04-23 Thread H Hartley Sweeten
The chanlist is checked in Step 5 of the (*do_cmdtest) there is no reason to check it again in the (*do_cmd). The only reasonm its done is to get the actual 'seglen', the non-repeating length of the chanlist. Save the 'seglen' found by pci171x_ai_check_chanlist() in the private data and use that