linux-stable/drivers/media/platform/vivid
Colin Ian King 17a1199f1e media: vivid: fix assignment of dev->fbuf_out_flags
[ Upstream commit 5cde22fcc7 ]

Currently the chroma_flags and alpha_flags are being zero'd with a bit-wise
mask and the following statement should be bit-wise or'ing in the new flag
bits but instead is making a direct assignment.  Fix this by using the |=
operator rather than an assignment.

Addresses-Coverity: ("Unused value")

Fixes: ef834f7836 ("[media] vivid: add the video capture and output parts")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-22 10:57:30 +02:00
..
Kconfig
Makefile
vivid-cec.c
vivid-cec.h
vivid-core.c media: vivid: update EDID 2021-05-22 10:57:19 +02:00
vivid-core.h
vivid-ctrls.c
vivid-ctrls.h
vivid-kthread-cap.c media: vivid: Fix wrong locking that causes race conditions on streaming stop 2019-12-01 09:14:24 +01:00
vivid-kthread-cap.h
vivid-kthread-out.c media: vivid: Fix wrong locking that causes race conditions on streaming stop 2019-12-01 09:14:24 +01:00
vivid-kthread-out.h
vivid-osd.c media: vivid: fix incorrect assignment operation when setting video mode 2020-01-27 14:46:37 +01:00
vivid-osd.h
vivid-radio-common.c
vivid-radio-common.h
vivid-radio-rx.c
vivid-radio-rx.h
vivid-radio-tx.c
vivid-radio-tx.h
vivid-rds-gen.c
vivid-rds-gen.h
vivid-sdr-cap.c media: vivid: Fix wrong locking that causes race conditions on streaming stop 2019-12-01 09:14:24 +01:00
vivid-sdr-cap.h
vivid-vbi-cap.c
vivid-vbi-cap.h
vivid-vbi-gen.c
vivid-vbi-gen.h
vivid-vbi-out.c
vivid-vbi-out.h
vivid-vid-cap.c media: vivid: Set vid_cap_streaming and vid_out_streaming to true 2019-12-01 09:14:24 +01:00
vivid-vid-cap.h
vivid-vid-common.c media: vivid: set min width/height to a value > 0 2019-01-23 08:09:49 +01:00
vivid-vid-common.h
vivid-vid-out.c media: vivid: fix assignment of dev->fbuf_out_flags 2021-05-22 10:57:30 +02:00
vivid-vid-out.h