forked from marcosfad/mbp-ubuntu-kernel
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89b2638
commit df11a74
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
From eab9195f86ea62a7826dac903582a32434df3b92 Mon Sep 17 00:00:00 2001 | ||
From 4bc43b66a357353c414ba7bdb0c8210b53c4eb68 Mon Sep 17 00:00:00 2001 | ||
From: Aditya Garg <gargaditya08@live.com> | ||
Date: Tue, 31 Dec 2024 19:27:38 +0530 | ||
Date: Tue, 31 Dec 2024 20:08:49 +0530 | ||
Subject: [PATCH] backlight | ||
|
||
--- | ||
drivers/hid/hid-appletb-bl.c | 3 +++ | ||
drivers/hid/hid-appletb-kbd.c | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/drivers/hid/hid-appletb-bl.c b/drivers/hid/hid-appletb-bl.c | ||
index 819157686..52a265472 100644 | ||
--- a/drivers/hid/hid-appletb-bl.c | ||
+++ b/drivers/hid/hid-appletb-bl.c | ||
@@ -201,6 +201,9 @@ static struct hid_driver appletb_bl_hid_driver = { | ||
diff --git a/drivers/hid/hid-appletb-kbd.c b/drivers/hid/hid-appletb-kbd.c | ||
index ecc8c84f4..b07c394fb 100644 | ||
--- a/drivers/hid/hid-appletb-kbd.c | ||
+++ b/drivers/hid/hid-appletb-kbd.c | ||
@@ -497,6 +497,9 @@ static struct hid_driver appletb_kbd_hid_driver = { | ||
}; | ||
module_hid_driver(appletb_bl_hid_driver); | ||
module_hid_driver(appletb_kbd_hid_driver); | ||
|
||
+/* The backlight driver should be loaded before the keyboard driver is initialised*/ | ||
+MODULE_SOFTDEP("pre: hid-appletb-bl"); | ||
+ | ||
MODULE_AUTHOR("Ronald Tschalär"); | ||
MODULE_AUTHOR("Kerem Karabay <kekrby@gmail.com>"); | ||
MODULE_DESCRIPTION("MacBookPro Touch Bar Backlight Driver"); | ||
MODULE_DESCRIPTION("MacBookPro Touch Bar Keyboard Mode Driver"); | ||
-- | ||
2.43.0 | ||
|