/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to base.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-05-26 13:12:29 UTC
  • Revision ID: csa@suren.me-20150526131229-akkz4yj30i6sgzo6
Cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
 
133
133
 
134
134
        ctx->rdma = PCILIB_DMA_ENGINE_INVALID;
135
 
        ctx->wdma = PCILIB_DMA_ENGINE_INVALID;
136
135
 
137
136
        if (err) {
138
137
            free(ctx);
535
534
        }
536
535
        ctx->frame_mutex_destroy = 0;
537
536
    }
538
 
    
539
 
 
540
 
    if (ctx->wdma != PCILIB_DMA_ENGINE_INVALID) {
541
 
        pcilib_stop_dma(vctx->pcilib, ctx->wdma, PCILIB_DMA_FLAGS_DEFAULT);
542
 
        ctx->wdma = PCILIB_DMA_ENGINE_INVALID;
543
 
    }
544
537
 
545
538
    if (ctx->rdma != PCILIB_DMA_ENGINE_INVALID) {
546
539
        pcilib_stop_dma(vctx->pcilib, ctx->rdma, PCILIB_DMA_FLAGS_DEFAULT);