commit | 72ba5c1612f5ea7f907290903e8fc24ed94aec13 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jan 13 10:16:40 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 17 14:31:31 2015 -0800 |
tree | d1c8f013ed59a0b734611a83bfa3cb609df63780 | |
parent | 0f02b081da44370d5c88340501e7a12ef9076a34 [diff] |
staging: comedi: ni_labpc_isadma: tidy up labpc_drain_dma() Tidy up the code that determines the number of samples to read for the current DMA transfer and how many samples are needed for the next DMA, Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>