Commit de42aa3d478c813a02ef0413a2ebbf5d9c78a14b

Authored by Aaron Lu
Committed by Greg Kroah-Hartman
1 parent 9e80aeb7c7

ACPI / video: Add some Samsung models to disable_native_backlight list

commit 7d0b93499f4879ddbc75d594f4ea216ba964f78e upstream.

Several Samsung laptop models (SAMSUNG 870Z5E/880Z5E/680Z5E and
SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V) do not have a working
native backlight control interface so restore their acpi_videoX
interface.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=84221
Link: https://bugzilla.kernel.org/show_bug.cgi?id=84651
For SAMSUNG 870Z5E/880Z5E/680Z5E:
Reported-and-tested-by: Brent Saner <brent.saner@gmail.com>
Reported-by: Vitaliy Filippov <vitalif@yourcmc.ru>
Reported-by: Laszlo KREKACS <laszlo.krekacs.list@gmail.com>
For SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V:
Reported-by: Vladimir Perepechin <vovochka13@gmail.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 17 additions and 0 deletions Side-by-side Diff

drivers/acpi/video.c
... ... @@ -505,6 +505,23 @@
505 505 DMI_MATCH(DMI_PRODUCT_NAME, "HP ENVY 15 Notebook PC"),
506 506 },
507 507 },
  508 +
  509 + {
  510 + .callback = video_disable_native_backlight,
  511 + .ident = "SAMSUNG 870Z5E/880Z5E/680Z5E",
  512 + .matches = {
  513 + DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
  514 + DMI_MATCH(DMI_PRODUCT_NAME, "870Z5E/880Z5E/680Z5E"),
  515 + },
  516 + },
  517 + {
  518 + .callback = video_disable_native_backlight,
  519 + .ident = "SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V",
  520 + .matches = {
  521 + DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
  522 + DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"),
  523 + },
  524 + },
508 525 {}
509 526 };
510 527