From 7ac0539951ff0eba200e64b850b5181a82915c86 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 16 Jul 2011 06:18:05 +0200 Subject: Implement DMA access synchronization in the driver --- dma/nwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dma/nwl.c') diff --git a/dma/nwl.c b/dma/nwl.c index 6bb79c5..78a587e 100644 --- a/dma/nwl.c +++ b/dma/nwl.c @@ -26,7 +26,7 @@ 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; - if (flags&PCILIB_DMA_FLAG_PERMANENT) ctx->engines[dma].preserve = 1; + if (flags&PCILIB_DMA_FLAG_PERSISTENT) ctx->engines[dma].preserve = 1; return dma_nwl_start_engine(ctx, dma); } -- cgit v1.2.3