android_kernel_xiaomi_sm8450/drivers/media
Colin Ian King d4ec9550e4 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: ad4e02d508 ("[media] vivid: add a simple framebuffer device for overlay testing")

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+samsung@kernel.org>
2019-06-05 15:25:15 -04:00
..
cec media: cec-adap: fix regression in ping sanity check 2019-05-29 10:38:11 -04:00
common media: videobuf2-vmalloc: get_userptr: buffers are always writable 2019-05-29 08:05:58 -04:00
dvb-core Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
dvb-frontends media: rtl2832_sdr: set device_caps in struct video_device 2019-06-05 08:46:01 -04:00
firewire treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
i2c media: ov8856: modify register to fix test pattern 2019-05-29 11:26:53 -04:00
mc media: mc-device.c: don't memset __user pointer contents 2019-05-29 10:36:04 -04:00
mmc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
pci media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
platform media: vivid: fix incorrect assignment operation when setting video mode 2019-06-05 15:25:15 -04:00
radio media: media/radio: set device_caps in struct video_device 2019-06-05 08:19:12 -04:00
rc Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
spi Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
tuners Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
usb media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
v4l2-core media: v4l2-mem2mem: add try_en/decoder_cmd ioctl helpers 2019-06-05 08:50:13 -04:00
Kconfig media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00