aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2015-01-13 10:16:41 -0700
committerGreg Kroah-Hartman <[email protected]>2015-01-17 14:31:31 -0800
commitf2c6bbe8e02d589a02282c2a260f912ab4f12376 (patch)
treed5529a02090260db6352a793a25107fc0a1b4986 /tools/perf/scripts/python/bin
parent72ba5c1612f5ea7f907290903e8fc24ed94aec13 (diff)
staging: comedi: ni_labpc_isadma: move dma programming out of labpc_drain_dma()
The external caller of labpc_drain_dma() does not enable the DMA transfer. Only the call from handle_isa_dma() results in the programmed DMA operation getting enabled. For aesthetics, move the dma programming to handle_isa_dma(). Make sure the DMA operation would actually do something (dma->size != 0) before programming it to avoid enabling the DMA at the end of a stop_src == TRIG_COUNT command. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions