aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ioctl.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-06-04 10:55:15 -0400
committerMauro Carvalho Chehab <[email protected]>2019-06-05 15:25:15 -0400
commitd4ec9550e4b2d2e357a46fdc65d8ef3d4d15984c (patch)
tree4e44e10c4ad7eeb919c70146065565587390eb6a /drivers/media/v4l2-core/v4l2-ioctl.c
parent0c6280b3c353868a1a40596585db43af756b0617 (diff)
media: vivid: fix incorrect assignment operation when setting video mode
The assigment of FB_VMODE_NONINTERLACE to var->vmode should be a bit-wise or of FB_VMODE_NONINTERLACE instead of an assignment, otherwise the previous clearing of the FB_VMODE_MASK bits of var->vmode makes no sense and is redundant. Addresses-Coverity: ("Unused value") Fixes: ad4e02d5081d ("[media] vivid: add a simple framebuffer device for overlay testing") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions