staging: comedi: pcl816: fix DMA 'bytes' calculation
commitb5fc9c1031407010ea308be15342bd01b848a853
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 27 May 2014 17:30:58 +0000 (27 10:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:28:54 +0000 (28 14:28 -0700)
tree45be0f19724c705d6b4b0ef124596f974a6a50c6
parent29791cf5cc0a5d1c7b14dd6b8d31ff584c4b02af
staging: comedi: pcl816: fix DMA 'bytes' calculation

The calculation for the total number of bytes in the DMA transfer
is incorrect. Fix it.

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>
drivers/staging/comedi/drivers/pcl816.c