From e25b657fa13bac73965402af3d883fee7a1afd96 Mon Sep 17 00:00:00 2001 From: Christoffer Sandberg Date: Fri, 21 Aug 2020 09:06:29 +0200 Subject: [PATCH] Remove remaining unnecessary highreg value for clarity --- src/uniwill_keyboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index 0ba7707..fe56a47 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -173,7 +173,7 @@ static void uniwill_write_kbd_bl_enable(u8 enable) __uniwill_wmi_ec_read(0x8c, 0x07, ®_read_return); write_value = reg_read_return.bytes.data_low & ~(1 << 1); write_value |= (!enable << 1); - __uniwill_wmi_ec_write(0x8c, 0x07, write_value, reg_read_return.bytes.data_high, ®_write_return); + __uniwill_wmi_ec_write(0x8c, 0x07, write_value, 0x00, ®_write_return); } else { TUXEDO_DEBUG("tuxedo-cc-wmi symbols not found\n"); }