You've already forked linux-t2-patches
mirror of
https://github.com/t2linux/linux-t2-patches.git
synced 2026-04-30 13:52:11 -07:00
7.1
This commit is contained in:
@@ -64,9 +64,9 @@ index cafdebda7..a5296f827 100644
|
||||
--- a/drivers/gpu/drm/i915/display/intel_quirks.h
|
||||
+++ b/drivers/gpu/drm/i915/display/intel_quirks.h
|
||||
@@ -20,6 +20,7 @@ enum intel_quirk_id {
|
||||
QUIRK_NO_PPS_BACKLIGHT_POWER_HOOK,
|
||||
QUIRK_FW_SYNC_LEN,
|
||||
QUIRK_EDP_LIMIT_RATE_HBR2,
|
||||
QUIRK_DISABLE_EDP_PANEL_REPLAY,
|
||||
+ QUIRK_DDI_A_FORCE_4_LANES,
|
||||
};
|
||||
|
||||
|
||||
@@ -219,20 +219,19 @@ later Magic Keyboards.
|
||||
|
||||
Signed-off-by: Janne Grunau <j@jannau.net>
|
||||
---
|
||||
drivers/hid/Kconfig | 2 +-
|
||||
drivers/hid/Kconfig | 1 +
|
||||
drivers/hid/hid-apple.c | 15 +++++++++++++++
|
||||
2 files changed, 16 insertions(+), 1 deletion(-)
|
||||
2 files changed, 16 insertions(+)
|
||||
|
||||
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
|
||||
index c1d9f7c6a..1bcb8a569 100644
|
||||
index ff2f580b660ba6..af03f6c31614df 100644
|
||||
--- a/drivers/hid/Kconfig
|
||||
+++ b/drivers/hid/Kconfig
|
||||
@@ -140,7 +140,7 @@ config HID_APPLE
|
||||
@@ -139,6 +139,7 @@ config HID_APPLE
|
||||
tristate "Apple {i,Power,Mac}Books"
|
||||
depends on LEDS_CLASS
|
||||
depends on NEW_LEDS
|
||||
- default !EXPERT
|
||||
+ default !EXPERT || SPI_HID_APPLE
|
||||
+ default SPI_HID_APPLE
|
||||
help
|
||||
Support for some Apple devices which less or more break
|
||||
HID specification.
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
From 478b065d50e4d82c1c990a53d03a2dd1002eb0ad Mon Sep 17 00:00:00 2001
|
||||
From: Aditya Garg <gargaditya08@live.com>
|
||||
Date: Fri, 3 Apr 2026 15:14:47 +0000
|
||||
Subject: [PATCH] HID: apple: ensure the keyboard backlight is off if
|
||||
suspending
|
||||
|
||||
Some users reported that upon suspending their keyboard backlight
|
||||
remained on. Fix this by adding the missing LED_CORE_SUSPENDRESUME flag
|
||||
|
||||
Reported-by: André Eikmeyer <andre.eikmeyer@gmail.com>
|
||||
Tested-by: André Eikmeyer <andre.eikmeyer@gmail.com>
|
||||
Signed-off-by: Aditya Garg <gargaditya08@live.com>
|
||||
---
|
||||
drivers/hid/hid-apple.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
|
||||
index fc5897a6b..2eb45fac8 100644
|
||||
--- a/drivers/hid/hid-apple.c
|
||||
+++ b/drivers/hid/hid-apple.c
|
||||
@@ -858,6 +858,7 @@ static int apple_backlight_init(struct hid_device *hdev)
|
||||
asc->backlight->cdev.name = "apple::kbd_backlight";
|
||||
asc->backlight->cdev.max_brightness = rep->backlight_on_max;
|
||||
asc->backlight->cdev.brightness_set_blocking = apple_backlight_led_set;
|
||||
+ asc->backlight->cdev.flags = LED_CORE_SUSPENDRESUME;
|
||||
|
||||
ret = apple_backlight_set(hdev, 0, 0);
|
||||
if (ret < 0) {
|
||||
@@ -926,6 +927,7 @@ static int apple_magic_backlight_init(struct hid_device *hdev)
|
||||
backlight->cdev.name = ":white:" LED_FUNCTION_KBD_BACKLIGHT;
|
||||
backlight->cdev.max_brightness = backlight->brightness->field[0]->logical_maximum;
|
||||
backlight->cdev.brightness_set_blocking = apple_magic_backlight_led_set;
|
||||
+ backlight->cdev.flags = LED_CORE_SUSPENDRESUME;
|
||||
|
||||
apple_magic_backlight_set(backlight, 0, 0);
|
||||
|
||||
--
|
||||
2.52.0
|
||||
|
||||
Reference in New Issue
Block a user