]> 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)
commitcabf1f554ce213c200b7d09b22cd3d44f07c3acf
tree42dff8a590231b57f0051cc08082c425f2507a54
parent952fd4c705cb2f2c0c8f8f5985989f6f99163c48
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: 8899e10da3d9 ("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