1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-16 11:43:21 +03:00
mobile-nixos/devices/xiaomi-begonia/kernel/0001-mt6360-white-led-defaults-to-on.patch
2020-06-27 21:42:53 -04:00

26 lines
862 B
Diff

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