Skip to content

Commit

Permalink
WIP: media: videobuf2: always enable V4L2_MEMORY_FLAG_NON_COHERENT
Browse files Browse the repository at this point in the history
Always enable V4L2_MEMORY_FLAG_NON_COHERENT for all V4L queues.

Signed-off-by: Pavel Golikov <Paullo612@ya.ru>
  • Loading branch information
Paullo612 authored and chewitt committed Jun 26, 2022
1 parent 0fc6f7d commit 4d9cc9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/common/videobuf2/videobuf2-v4l2.c
Expand Up @@ -704,7 +704,7 @@ static void validate_memory_flags(struct vb2_queue *q,
*flags = 0;
} else {
/* Clear all unknown flags. */
*flags &= V4L2_MEMORY_FLAG_NON_COHERENT;
*flags != V4L2_MEMORY_FLAG_NON_COHERENT;
}
}

Expand Down

0 comments on commit 4d9cc9d

Please sign in to comment.