Fix up some inconsistent behaviour involving the screenpad on some
ASUS laptops. This fixes:
- illogical screen off control (0/1 flipped depending on WMI state)
- bad brightness depending on the last screenpad power state
- incorrect brightness scaling
Changelog:
- v1
- Initial submission
- v2
- Split patch in two
- Remove a redundant variable copy
Denis Benato (2):
platform/x86: asus-wmi: adjust screenpad power/brightness handling
platform/x86: asus-wmi: fix screenpad brightness scaling
drivers/platform/x86/asus-wmi.c | 50 +++++++++++++--------------------
1 file changed, 19 insertions(+), 31 deletions(-)
--
2.53.0