]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: sel3350-platform: Retain LED state on load and unload
authorBrodie Abrew <brodie_abrew@selinc.com>
Thu, 7 May 2026 00:49:16 +0000 (17:49 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 11 May 2026 16:15:20 +0000 (19:15 +0300)
commit18bc6ce6bb618e1dff4473d7dd528d22519abbd7
tree1095c48eeeaeb6f559b92bd8b47c87339521e075
parentb82c2e30cf8edca7052d020f278b461a0ef657c5
platform/x86: sel3350-platform: Retain LED state on load and unload

When the platform driver is loaded or unloaded, it overwrites the
existing LED states. This can cause a loss of early boot state when the
driver loads, and it can cause the ALARM contact to change state or
flicker.

Explicitly retain the existing LED state to prevent overwriting on
driver load and unload.

Tested-By: Robert Joslyn <robert.joslyn@redrectangle.org>
Reviewed-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Brodie Abrew <brodie_abrew@selinc.com>
Link: https://patch.msgid.link/20260507004916.6710-1-brodie_abrew@selinc.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/sel3350-platform.c