media: atomisp: fix "dubious: !x | !y" sparse warning
authorAnant Thazhemadam <anant.thazhemadam@gmail.com>
Wed, 26 Aug 2020 11:09:15 +0000 (13:09 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Sep 2020 09:05:55 +0000 (11:05 +0200)
commita4f3761771bc45ab433bd38fd437bb2e40617f27
treea3d42120f76640bdeddf1e205bbb4db87f206c30
parent0104949370228417fd417bd42fb3d99a59ff6ed6
media: atomisp: fix "dubious: !x | !y" sparse warning

Upon running Sparse, "warning: dubious: !x | !y" is brought to notice
for this file.  Logical and bitwise OR are basically the same in this
context, so it doesn't cause a runtime bug.  But let's change it to
logical OR to make it a little bit cleaner and silence the Sparse
warning.

Signed-off-by: Anant Thazhemadam <anant.thazhemadam@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c