media: atomisp: fix pipeline initialization code
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 05:28:50 +0000 (07:28 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 15:57:48 +0000 (17:57 +0200)
commit7b53e162f25835f9afb7f0025337319fe5c0dfc1
tree42dff8a590231b57f0051cc08082c425f2507a54
parent938b29db3aa9c293c7c1366b16e55e308f1a1ddd
media: atomisp: fix pipeline initialization code

The code under load_primary_binaries() is complex and
were hard to understand, because it used to have lots
of ifdefs and broken identation.

The patch which cleaned it and removed the version-specific
ifdefs added a regression.

Solve it.

Fixes: 3c0538fbad9f ("media: atomisp: get rid of most checks for ISP2401 version")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/sh_css.c