]> 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)
commita1ec54fb1e21247724fe1867d5cd3322fdc6ba2e
treed87554af1fbe9126b908bc402aa7aec6de94b4fc
parent6c639f75b5cee40aa081f6754368a8ec639a700c
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