media: staging: rkisp1: use a macro for the statistics flags mask
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Fri, 26 Jun 2020 08:51:38 +0000 (10:51 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 08:46:12 +0000 (10:46 +0200)
commit24385f9c6ee4e1e118046333b49637e5d337d943
tree2dba6615c89ad9d7e5a74c9be8ab99c6a4bf370e
parentaf30d4f36ef35d23f1ab6c5e4f329c743fb3c360
media: staging: rkisp1: use a macro for the statistics flags mask

The mask of the ready statistics flags is used in
several places in the code using bitwise-or.
Use a macro for that to make the code more readable.

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-common.h
drivers/staging/media/rkisp1/rkisp1-isp.c
drivers/staging/media/rkisp1/rkisp1-stats.c