]> 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)
commit2ae13adcbea11ab636a2fa0e75e857ebc4de3892
tree3d502f2cfcd6f1071617ff843b0220d67d7436c7
parent9ad3ac8359fe4e896209df8483fd73989e937290
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