diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-12 08:22:31 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-12 08:22:31 +0100 |
commit | 5539f1abc90c28b9ea5e559edc87aa84abb377c3 (patch) | |
tree | 2fe1fc3ed41427ebbdb41deba3469457b9e81578 /dma | |
parent | 2e4e8a00b27182a155cb10f0a00e44977bfcd5cf (diff) | |
download | pcitool-5539f1abc90c28b9ea5e559edc87aa84abb377c3.tar.gz pcitool-5539f1abc90c28b9ea5e559edc87aa84abb377c3.tar.bz2 pcitool-5539f1abc90c28b9ea5e559edc87aa84abb377c3.tar.xz pcitool-5539f1abc90c28b9ea5e559edc87aa84abb377c3.zip |
Reverts r99 and fixes inheritance of kernel buffers properly
Diffstat (limited to 'dma')
-rw-r--r-- | dma/nwl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,9 +27,9 @@ int dma_nwl_start(pcilib_dma_context_t *vctx, pcilib_dma_engine_t dma, pcilib_dm if (dma == PCILIB_DMA_ENGINE_INVALID) return 0; else if (dma > ctx->n_engines) return PCILIB_ERROR_INVALID_BANK; - err = dma_nwl_start_engine(ctx, dma); - if (flags&PCILIB_DMA_FLAG_PERSISTENT) ctx->engines[dma].preserve = 1; + + err = dma_nwl_start_engine(ctx, dma); return err; } |