From: H Hartley Sweeten Date: Tue, 13 Jan 2015 17:16:40 +0000 (-0700) Subject: staging: comedi: ni_labpc_isadma: tidy up labpc_drain_dma() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~380 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72ba5c1612f5ea7f907290903e8fc24ed94aec13;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed