]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/videobuf-dma-contig.c
V4L/DVB (10703): zoran: convert to video_ioctl2 and remove 'ready_to_be_freed' hack.
[linux-2.6-omap-h63xx.git] / drivers / media / video / videobuf-dma-contig.c
index 31944b11e6ea409fa454eb1f02a99f7e761f2e4e..6109fb5f34e2bb9b54ae7a1a289c8144c9ea86f3 100644 (file)
@@ -400,7 +400,7 @@ void videobuf_dma_contig_free(struct videobuf_queue *q,
           So, it should free memory only if the memory were allocated for
           read() operation.
         */
-       if ((buf->memory != V4L2_MEMORY_USERPTR) || !buf->baddr)
+       if ((buf->memory != V4L2_MEMORY_USERPTR) || buf->baddr)
                return;
 
        if (!mem)