From: H Hartley Sweeten Date: Tue, 20 Jan 2015 21:53:25 +0000 (-0700) Subject: staging: comedi: adv_pci1710: transfer all ai samples in one step X-Git-Tag: fixes-v4.0-rc1~99^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6c42d78c019ecef96ee09b20e55adf46fd430a2;p=pandora-kernel.git staging: comedi: adv_pci1710: transfer all ai samples in one step The two step process to transfer the ai samples in pci1710_handle_fifo() doesn't make any sense. If the async buffer does not have enough room for the samples the core will set the async event COMEDI_CB_OVERFLOW which will cause the async command to cancel. Splitting the transfer doesn't add any value. Transfer all the samples in one step to simplify the code. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed