aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/kernel-patches/0003-leds-turris-omnia-initialize-multi-intensity-to-full.patch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-09-27 17:09:49 +0200
committerKarel Kočí <cynerd@email.cz>2022-09-27 17:09:49 +0200
commit213042bba186b995bc2f25c8c2d06a9652177fa3 (patch)
treef8a12ada9ea2a95e400802e4a6451be7f1178ef7 /nixos/modules/kernel-patches/0003-leds-turris-omnia-initialize-multi-intensity-to-full.patch
parentff1073d03d303d3b15e66d03dc4a5a479a387fa7 (diff)
downloadnixturris-213042bba186b995bc2f25c8c2d06a9652177fa3.tar.gz
nixturris-213042bba186b995bc2f25c8c2d06a9652177fa3.tar.bz2
nixturris-213042bba186b995bc2f25c8c2d06a9652177fa3.zip
Import Turris OS kernel patches
Diffstat (limited to 'nixos/modules/kernel-patches/0003-leds-turris-omnia-initialize-multi-intensity-to-full.patch')
-rw-r--r--nixos/modules/kernel-patches/0003-leds-turris-omnia-initialize-multi-intensity-to-full.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/nixos/modules/kernel-patches/0003-leds-turris-omnia-initialize-multi-intensity-to-full.patch b/nixos/modules/kernel-patches/0003-leds-turris-omnia-initialize-multi-intensity-to-full.patch
deleted file mode 100644
index 4f9cee4..0000000
--- a/nixos/modules/kernel-patches/0003-leds-turris-omnia-initialize-multi-intensity-to-full.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 6ad5109b744e8f10bb14f948b75c38b639f97989 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@kernel.org>
-Date: Mon, 4 Jul 2022 12:59:54 +0200
-Subject: [PATCH 03/10] leds: turris-omnia: initialize multi-intensity to full
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The default color of each LED before driver probe (255, 255, 255).
-Initialize multi_intensity to this value, so that it corresponds to the
-reality.
-
-Signed-off-by: Marek Behún <kabel@kernel.org>
----
- drivers/leds/leds-turris-omnia.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/drivers/leds/leds-turris-omnia.c b/drivers/leds/leds-turris-omnia.c
-index c2dfb22d3065..fae155bd119c 100644
---- a/drivers/leds/leds-turris-omnia.c
-+++ b/drivers/leds/leds-turris-omnia.c
-@@ -131,10 +131,13 @@ static int omnia_led_register(struct i2c_client *client, struct omnia_led *led,
- }
-
- led->subled_info[0].color_index = LED_COLOR_ID_RED;
-+ led->subled_info[0].intensity = 255;
- led->subled_info[0].channel = 0;
- led->subled_info[1].color_index = LED_COLOR_ID_GREEN;
-+ led->subled_info[1].intensity = 255;
- led->subled_info[1].channel = 1;
- led->subled_info[2].color_index = LED_COLOR_ID_BLUE;
-+ led->subled_info[2].intensity = 255;
- led->subled_info[2].channel = 2;
-
- led->mc_cdev.subled_info = led->subled_info;
---
-2.37.2
-