summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/starlabs/merlin/ite.c12
-rw-r--r--src/ec/starlabs/merlin/nuvoton.c12
2 files changed, 6 insertions, 18 deletions
diff --git a/src/ec/starlabs/merlin/ite.c b/src/ec/starlabs/merlin/ite.c
index 9916bf09ed..d7ae168af1 100644
--- a/src/ec/starlabs/merlin/ite.c
+++ b/src/ec/starlabs/merlin/ite.c
@@ -295,17 +295,11 @@ static void merlin_init(struct device *dev)
* Values: Off, On
* Default: On
*
+ * Note: Always enable, as the brightness level of `off` disables it.
+ *
*/
- const uint8_t kbl_state[] = {
- KBL_DISABLED,
- KBL_ENABLED
- };
- ec_write(ECRAM_KBL_STATE,
- get_ec_value_from_option("kbl_state",
- 1,
- kbl_state,
- ARRAY_SIZE(kbl_state)));
+ ec_write(ECRAM_KBL_STATE, KBL_ENABLED);
}
static struct device_operations ops = {
diff --git a/src/ec/starlabs/merlin/nuvoton.c b/src/ec/starlabs/merlin/nuvoton.c
index f4b2bb4d49..bad8d1b4ec 100644
--- a/src/ec/starlabs/merlin/nuvoton.c
+++ b/src/ec/starlabs/merlin/nuvoton.c
@@ -256,17 +256,11 @@ static void merlin_init(struct device *dev)
* Values: Off, On
* Default: On
*
+ * Note: Always enable, as the brightness level of `off` disables it.
+ *
*/
- const uint8_t kbl_state[] = {
- KBL_DISABLED,
- KBL_ENABLED
- };
- ec_write(ECRAM_KBL_STATE,
- get_ec_value_from_option("kbl_state",
- 1,
- kbl_state,
- ARRAY_SIZE(kbl_state)));
+ ec_write(ECRAM_KBL_STATE, KBL_ENABLED);
}
static struct device_operations ops = {