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 <mail@singhaakash.dev> Cc: Jose Angel Pastrana <japp0005@red.ujaen.es> Signed-off-by: Nikita Kravets <teackot@gmail.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20231006175352.1753017-5-teackot@gmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent 4d73c67 commit 6284e67

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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)