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)
commitceb348690e29e3b14f9506d2d6d36748b1eda3c2
tree99192858f86d3b5c53a09e45b69a624abc71d33d
parentba99522b2bd08bf3ec7126bd363cf18ade74ed2f
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