commit | 8017c513050735ce6bd637eb5ecc39bbac4a8ffa | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed Oct 16 14:40:29 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 16 12:48:30 2013 -0700 |
tree | 7ec5b0f06f74a3a881922549a6fe1bf24425fc85 | |
parent | b12bb4a5f3327cdbc080683fd5663894df14a359 [diff] |
staging: comedi: pcl812: sample types are unsigned Sample values in comedi are generally represented as unsigned values. Change `transfer_from_dma_buf()` and `interrupt_pcl812_ai_dma()` in the "pcl812" module to use `unsigned short` sample values for consistency. Also remove the `short *ai_data` member of `struct pcl812_private` as it is only assigned to. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>