aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf-dma-contig.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/videobuf-dma-contig.c')
-rw-r--r--drivers/media/video/videobuf-dma-contig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf-dma-contig.c b/drivers/media/video/videobuf-dma-contig.c
index 31944b11e6ea..6109fb5f34e2 100644
--- a/drivers/media/video/videobuf-dma-contig.c
+++ b/drivers/media/video/videobuf-dma-contig.c
@@ -400,7 +400,7 @@ void videobuf_dma_contig_free(struct videobuf_queue *q,
400 So, it should free memory only if the memory were allocated for 400 So, it should free memory only if the memory were allocated for
401 read() operation. 401 read() operation.
402 */ 402 */
403 if ((buf->memory != V4L2_MEMORY_USERPTR) || !buf->baddr) 403 if ((buf->memory != V4L2_MEMORY_USERPTR) || buf->baddr)
404 return; 404 return;
405 405
406 if (!mem) 406 if (!mem)