media: atomisp: atomisp_compat_css20.c: detect ISP at runtime
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 22 Apr 2020 12:28:47 +0000 (14:28 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:16 +0000 (12:32 +0200)
commit7ef17aa55fc381a6f3280203cd85175cb14b631f
tree4e4fa46084962c85f4209cb2518aef4247ba0d7b
parent78e2888ccb2920e2b782e6b07a7563800dabe7fe
media: atomisp: atomisp_compat_css20.c: detect ISP at runtime

Remove ifdefs that check ISP version from the code, switching
to specific ISP-dependent code at runtime.

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