-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xiaomi-begonia: LED now defaults to on
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
devices/xiaomi-begonia/kernel/0001-mt6360-white-led-defaults-to-on.patch
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 7596d9c5fddf7b1fc81c24a5f71800d52af31527 Mon Sep 17 00:00:00 2001 | ||
From: Samuel Dionne-Riel <samuel@dionne-riel.com> | ||
Date: Sat, 27 Jun 2020 21:24:22 -0400 | ||
Subject: [PATCH] mt6360: white led defaults to on | ||
|
||
--- | ||
arch/arm64/boot/dts/mediatek/mt6360.dtsi | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/arch/arm64/boot/dts/mediatek/mt6360.dtsi b/arch/arm64/boot/dts/mediatek/mt6360.dtsi | ||
index 19bc396041e3..373c1687a06a 100644 | ||
--- a/arch/arm64/boot/dts/mediatek/mt6360.dtsi | ||
+++ b/arch/arm64/boot/dts/mediatek/mt6360.dtsi | ||
@@ -93,7 +93,7 @@ | ||
compatible = "mediatek,mt6360_pmu_rgbled"; | ||
mt,led_name = "white", "mt6360_pmu_led2", | ||
"mt6360_pmu_led3", "mt6360_pmu_led4"; | ||
- mt,led_default_trigger = "cc_mode", "cc_mode", | ||
+ mt,led_default_trigger = "default-on", "cc_mode", | ||
"cc_mode", "none"; | ||
}; | ||
core { | ||
-- | ||
2.25.4 | ||
|
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