]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: not loading brightness_init when _BCL invalid
authorAaron Ma <aaron.ma@canonical.com>
Fri, 10 Jul 2020 01:56:14 +0000 (09:56 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 15 Jul 2020 09:45:06 +0000 (12:45 +0300)
commit34bcbb5ca126b4b7ee461ddb6d3ac3439c02a579
treeb070b5379c9adf193304661de38bb6d85e31686d
parent36db9a86c923e0777affd552eda5c816039939d2
platform/x86: thinkpad_acpi: not loading brightness_init when _BCL invalid

When _BCL invalid, disable thinkpad_acpi backlight brightness control.

brightness_enable is already checked at the beginning.
Most new thinkpads are using GPU driver to control brightness now,
print notice when enabled brightness control even when brightness_enable = 1.

Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c