Re: [PATCH 19/66] staging: comedi: pcl818: introduce pcl818_ai_get_fifo_sample()

2014-03-03 Thread Ian Abbott
On 2014-02-28 23:24, H Hartley Sweeten wrote: To clarify the code, introduce a helper function to read the analog input data sample from the FIFO and optionally return the channel that the sample was for. The channel is used to check for dropped samples. Signed-off-by: H Hartley Sweeten

[PATCH 19/66] staging: comedi: pcl818: introduce pcl818_ai_get_fifo_sample()

2014-02-28 Thread H Hartley Sweeten
To clarify the code, introduce a helper function to read the analog input data sample from the FIFO and optionally return the channel that the sample was for. The channel is used to check for dropped samples. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott