summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-01-14 10:05:12 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-17 14:32:55 -0800
commit421f1b6832efd618c5ce3e639642a49d38ba5a37 (patch)
treeb49270e95cdb0ebc7a4a1962aa04ba0cd762e275 /tools/perf/scripts/python/export-to-postgresql.py
parent296e3f1816dbdb5f1c3213386756e362263b17b5 (diff)
staging: comedi: pcl818: use common function to setup dma
THe pcl818_ai_setup_dma() and pcl818_ai_setup_next_dma() functions are similar other than the buffer switch and the inclusion of the "unread_samples" in pcl818_ai_setup_next_dma() when calculating the dma size. Merge these two functions by initializing the 'dma->cur_dma' in the callers and passing '0' for the "unread_samples" when first starting the 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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions