diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2022-05-03 10:44:17 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-13 11:02:21 +0200 |
commit | 91f49b80983f7bffdea9498209b2b896231ac776 (patch) | |
tree | 1652620936ab6bc3f5cf6053752ea821608f712e /drivers/media/platform/atmel/atmel-isc-base.c | |
parent | 1f0c113cc7abb435e531f5777efe2ca757e1361b (diff) | |
download | linux-91f49b80983f7bffdea9498209b2b896231ac776.tar.gz linux-91f49b80983f7bffdea9498209b2b896231ac776.tar.bz2 linux-91f49b80983f7bffdea9498209b2b896231ac776.zip |
media: atmel: atmel-sama5d2-isc: fix wrong mask in YUYV format check
While this does not happen in production, this check should be done
versus the mask, as checking with the YCYC value may not include
some bits that may be set.
It is correct and safe to check the whole mask.
Fixes: 123aaf816b95 ("media: atmel: atmel-sama5d2-isc: fix YUYV format")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/atmel/atmel-isc-base.c')
0 files changed, 0 insertions, 0 deletions