]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: atomisp_v4l2.c: set wdt timers according with ISP version
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 22 Apr 2020 12:06:58 +0000 (14:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:16 +0000 (12:32 +0200)
commit299df5eb25c481c2decf6181c9ec75e391ae387d
tree3d502f2cfcd6f1071617ff843b0220d67d7436c7
parent24f95267772c2e16c9c53d3186a22e2d0b279bae
media: atomisp: atomisp_v4l2.c: set wdt timers according with ISP version

Add a runtime check to use the proper wdt timer init at runtime,
depending on the chipset revision.

For now, we can't get rid of the remaining version checks, as
the rest of the code is not prepared yet to detect the ISP
version on runtime.

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