]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: rkisp1: cap: cleanup in mainpath config for uv swap format
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Sat, 11 Apr 2020 16:05:57 +0000 (18:05 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 15:22:14 +0000 (17:22 +0200)
commit8eaac28bc6479e41b384e99288134a75fecfe2ca
tree99192858f86d3b5c53a09e45b69a624abc71d33d
parentc867b5d0400e5e4ccd122c1238d4288ed2257099
media: staging: rkisp1: cap: cleanup in mainpath config for uv swap format

The value RKISP1_CIF_MI_XTD_FMT_CTRL_MP_CB_CR_SWAP equals BIT(0),
Therefore when writing it to the register there is no need to mask
it first with ~BIT(0).

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-capture.c