]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: improve sensor detection code to use _DSM table
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 4 Jun 2020 09:46:03 +0000 (11:46 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 17:16:16 +0000 (19:16 +0200)
commit62eb48df71e0a7d4b4ab4a7c804b1cd35ca7a2dd
treed87554af1fbe9126b908bc402aa7aec6de94b4fc
parentb8fd2b410eb8b2a047813e9d82332ed725099bcc
media: atomisp: improve sensor detection code to use _DSM table

Instead of keep hardcoding device-specific tables, read them
directly from the ACPI BIOS, if available.

This method is know to work with Asus T101HA device. the
same table is also visible on EzPad devices. So, it seems
that at least some BIOSes use this method to pass data about
ISP2401-connected sensors.

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