]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: fix the handling of clock number
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 13 Jun 2020 06:46:25 +0000 (08:46 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 17 Jul 2020 13:45:57 +0000 (15:45 +0200)
commit18d3cb541b19ed46be835850f2c2a588289004d2
tree28092a4eaa037575c857081261494cadcc33b992
parent7aeae1b936a59b513371e6bcf848158680bd2517
media: atomisp: fix the handling of clock number

Right now, the driver is not doing the right thing to detect
the clock like used by the sensor, at least on devices
without the gmin's EFI vars.

Add some notes at the code to explain why and skip the wrong
value provided by the _DSM table.

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