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)
commitc2942c4363ceb8bbce12c2db8f42d8bbbf5bb0ef
tree28092a4eaa037575c857081261494cadcc33b992
parent2630e1bb0948c3134c6f22ad275ae27cc6023532
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