Skip to content

Commit 6284e67

Browse files
teackotjwrdegoede
authored andcommitted
platform/x86: msi-ec: Fix the 3rd config
Fix the charge control address of CONF3 and remove an incorrect firmware version which turned out to be a BIOS firmware and not an EC firmware. Fixes: 392cacf ("platform/x86: Add new msi-ec driver") Cc: Aakash Singh <[email protected]> Cc: Jose Angel Pastrana <[email protected]> Signed-off-by: Nikita Kravets <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 4d73c67 commit 6284e67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/platform/x86/msi-ec.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,13 @@ static struct msi_ec_conf CONF2 __initdata = {
276276

277277
static const char * const ALLOWED_FW_3[] __initconst = {
278278
"1592EMS1.111",
279-
"E1592IMS.10C",
280279
NULL
281280
};
282281

283282
static struct msi_ec_conf CONF3 __initdata = {
284283
.allowed_fw = ALLOWED_FW_3,
285284
.charge_control = {
286-
.address = 0xef,
285+
.address = 0xd7,
287286
.offset_start = 0x8a,
288287
.offset_end = 0x80,
289288
.range_min = 0x8a,

0 commit comments

Comments
 (0)