platform/x86: dell-laptop: Fix keyboard backlight timeout on XPS 13 9370
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 1 Jun 2018 10:32:56 +0000 (12:32 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Jun 2018 09:30:09 +0000 (12:30 +0300)
commite6a7379fcb5702da681d7da8e9d9a2a26cc6fa85
tree9cee2fc21553b21d6226eda9d6b1a0215a484145
parent64b824649b7787c9ac491015f16ffa4ad2ec287e
platform/x86: dell-laptop: Fix keyboard backlight timeout on XPS 13 9370

The XPS 13 9370 doesn't expose the necessary KBD_LED_AC_TOKEN in
the BIOS, so the driver thinks it cannot adjust the AC keyboard
backlight timeout. This patch adds a quirk to fix this until
Dell adds the missing token to the BIOS.

For further discussion, see:
https://github.com/dell/libsmbios/issues/48

Signed-off-by: Timur Kristóf <venemo@fedoraproject.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-laptop.c