diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-06-04 10:55:15 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:21:44 +0100 |
| commit | a1ab56ebe4785a2aa9a6afab3fe8c20e4325e713 (patch) | |
| tree | 5825ff891027c2f753e282162509d2c6add8d5f7 /arch/powerpc/kernel/cacheinfo.h | |
| parent | 28dd951dc30615799a1b23e456444494ae80edc0 (diff) | |
media: vivid: fix incorrect assignment operation when setting video mode
[ Upstream commit d4ec9550e4b2d2e357a46fdc65d8ef3d4d15984c ]
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 <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/powerpc/kernel/cacheinfo.h')
0 files changed, 0 insertions, 0 deletions
