]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: staging: rkisp1: remove macro RKISP1_DIR_SINK_SRC
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Thu, 18 Jun 2020 11:35:16 +0000 (13:35 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 4 Jul 2020 10:33:02 +0000 (12:33 +0200)
commitb861d139a36a4593498932bfec957bdcc7d98eb3
tree4d32104f6c4649cdb64217df4559339d48907585
parent7b8ce1f2763b9351a4cb04b802835470e76770a5
media: staging: rkisp1: remove macro RKISP1_DIR_SINK_SRC

The macro RKISP1_DIR_SINK_SRC is a mask of two flags.
The macro hides the fact that it's a mask and the code
is actually more clear if we replace it the with bitwise-or explicitly.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-isp.c