Skip to content

Commit

Permalink
tb backlight
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 committed Dec 31, 2024
1 parent a353133 commit c4d6ce6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions patches/0001-backlight.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From eab9195f86ea62a7826dac903582a32434df3b92 Mon Sep 17 00:00:00 2001
From: Aditya Garg <gargaditya08@live.com>
Date: Tue, 31 Dec 2024 19:27:38 +0530
Subject: [PATCH] backlight

---
drivers/hid/hid-appletb-bl.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 = {
};
module_hid_driver(appletb_bl_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");
--
2.43.0

0 comments on commit c4d6ce6

Please sign in to comment.