media: atomisp: gmin_platform: Make DMI quirks take precedence over the _DSM table
authorHans de Goede <hdegoede@redhat.com>
Fri, 10 Mar 2023 12:34:45 +0000 (12:34 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 09:42:41 +0000 (10:42 +0100)
commitbd8856c65dbcb2a31054faece053d28378f185c1
tree4b613dce91730c8bba3c8130ebfe1fbb0aee977b
parent2f2fce05a75dd27d47afcf50eed52217cc99c556
media: atomisp: gmin_platform: Make DMI quirks take precedence over the _DSM table

On some devices the _DSM sensor-info table contains wrong info,
move the DMI quirk handling up to above the _DSM table check
to allow DMI quirks to override wrong info in the _DSM table.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c