[PATCH v2 2/8][SRU][N] Revert "UBUNTU: SAUCE: ACPI: video: Dell AIO UART backlight detection"
AceLan Kao
acelan.kao at canonical.com
Thu Oct 23 02:53:20 UTC 2025
From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2083800
This reverts commit e45b1cda283d20d5deb0bb64f13185aee67f1c86.
There is a same mechanism implemented by the upstream. We'll use the
equivalent one from upstream.
cd8e468efb4fb ("ACPI: video: Add Dell UART backlight controller detection")
Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao at canonical.com>
---
drivers/acpi/video_detect.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 675d653b39796..d29ddec3eecc2 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -950,7 +950,6 @@ enum acpi_backlight_type __acpi_video_get_backlight_type(bool native, bool *auto
static DEFINE_MUTEX(init_mutex);
static bool nvidia_wmi_ec_present;
static bool apple_gmux_present;
- static bool dell_uart_backlight_present;
static bool native_available;
static bool init_done;
static long video_caps;
@@ -965,7 +964,6 @@ enum acpi_backlight_type __acpi_video_get_backlight_type(bool native, bool *auto
&video_caps, NULL);
nvidia_wmi_ec_present = nvidia_wmi_ec_supported();
apple_gmux_present = apple_gmux_detect(NULL, NULL);
- dell_uart_backlight_present = acpi_dev_found("DELL0501");
init_done = true;
}
if (native)
@@ -996,9 +994,6 @@ enum acpi_backlight_type __acpi_video_get_backlight_type(bool native, bool *auto
if (apple_gmux_present)
return acpi_backlight_apple_gmux;
- if (dell_uart_backlight_present)
- return acpi_backlight_vendor;
-
/* Use ACPI video if available, except when native should be preferred. */
if ((video_caps & ACPI_VIDEO_BACKLIGHT) &&
!(native_available && prefer_native_over_acpi_video()))
--
2.43.0
More information about the kernel-team
mailing list