Re: [PATCH 01/15] staging: comedi: ni_daq_700: remove unnecessary enable and flush of ADC

2014-07-16 Thread Ian Abbott
On 2014-07-15 01:20, H Hartley Sweeten wrote: The ADC conversions are enabled and the FIFO is flushed by daq700_ai_config() when the driver is initially attached. There is no reason to repeat the ADC enable and flush the FIFO before each sample read in the (*insn_read). Signed-off-by: H Hartley

RE: [PATCH 01/15] staging: comedi: ni_daq_700: remove unnecessary enable and flush of ADC

2014-07-16 Thread Hartley Sweeten
On Wednesday, July 16, 2014 4:35 AM, Ian Abbott wrote: On 2014-07-15 01:20, H Hartley Sweeten wrote: The ADC conversions are enabled and the FIFO is flushed by daq700_ai_config() when the driver is initially attached. There is no reason to repeat the ADC enable and flush the FIFO before each

Re: [PATCH 01/15] staging: comedi: ni_daq_700: remove unnecessary enable and flush of ADC

2014-07-16 Thread gre...@linuxfoundation.org
On Wed, Jul 16, 2014 at 05:25:30PM +, Hartley Sweeten wrote: On Wednesday, July 16, 2014 4:35 AM, Ian Abbott wrote: On 2014-07-15 01:20, H Hartley Sweeten wrote: The ADC conversions are enabled and the FIFO is flushed by daq700_ai_config() when the driver is initially attached. There

[PATCH 01/15] staging: comedi: ni_daq_700: remove unnecessary enable and flush of ADC

2014-07-14 Thread H Hartley Sweeten
The ADC conversions are enabled and the FIFO is flushed by daq700_ai_config() when the driver is initially attached. There is no reason to repeat the ADC enable and flush the FIFO before each sample read in the (*insn_read). Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian