OSDN Git Service

media: atomisp: fix an inverted logic
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 May 2020 18:32:51 +0000 (20:32 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 12:51:29 +0000 (14:51 +0200)
commit3117ddda1ecef96e646b120681a606b41247df52
treed28ea07fe03ad6c426d122e4e4598eb50d79e518
parent1351ea6b04c8488d0bfde4a2ee55ae111f4a0b0d
media: atomisp: fix an inverted logic

When changing the IFs to select isp2401 at runtime, one of
the conditions ended by being written wrong.

Code double-checked on both Yocto Aero's driver version and
against the previous code.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c