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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 11:07:32 +0000 (13:07 +0200)
commit7f1434f265219a9c218cea66decefdeaf996004c
treeffba1a78daa152b309251a9edc8dcbcd03da1f96
parent44cc21f6ad922874249b73fbe91d739c4683d605
media: staging: rkisp1: remove macro RKISP1_DIR_SINK_SRC

[ Upstream commit b861d139a36a4593498932bfec957bdcc7d98eb3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/media/rkisp1/rkisp1-isp.c