mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
95ebd609ae
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.139
Removed upstreamed:
x86/patches-5.15/120-hwrng-geode-fix-accessing-registers.patch[3]
All other patches automatically rebased.
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.139&id=a5c83c8043d70b9a28d1bd78a2dbbab340f43889
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
[Refresh on top of OpenWrt 23.05]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit df167450a5
)
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From bda176cceb735b9b46c1900658b6486c34e13ae6 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] 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(+)
|
|
|
|
--- a/drivers/leds/leds-turris-omnia.c
|
|
+++ b/drivers/leds/leds-turris-omnia.c
|
|
@@ -162,10 +162,13 @@ static int omnia_led_register(struct i2c
|
|
}
|
|
|
|
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;
|