]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94ce991d339ab83625252369662dcb93d5474b9e
tree42dff8a590231b57f0051cc08082c425f2507a54
parent71e864bf90de71a1a9c124340bc797dc53b11f1d
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: 839c76f1efe4 ("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