Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: intel_atomisp2_led: Also turn off the always-on camera LED on the Asus T100TAF

Like the Asus T100TA the Asus T100TAF has a camera LED which is always
on by default and both also use the same GPIO for the LED.

Relax the DMI match for the Asus T100TA so that it also matches
the T100TAF.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220710173658.221528-1-hdegoede@redhat.com

+2 -1
+2 -1
drivers/platform/x86/intel/atomisp2/led.c
··· 50 50 { 51 51 .matches = { 52 52 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), 53 - DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100TA"), 53 + /* Non exact match to also match T100TAF */ 54 + DMI_MATCH(DMI_PRODUCT_NAME, "T100TA"), 54 55 }, 55 56 .driver_data = &asus_t100ta_lookup, 56 57 },