Skip to content

Commit

Permalink
kernel-driver: try change register for 15IHU6 and 15ACH6
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDuartePT authored Apr 13, 2024
1 parent 9fc526d commit 15cd63a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel_module/legion-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ static const struct model_config model_fccn = {

static const struct model_config model_h3cn = {
//0xFE0B0800
.registers = &ec_register_offsets_v1,
.registers = &ec_register_offsets_ideapad_v0,
.check_embedded_controller_id = false,
.embedded_controller_id = 0x8227,
.memoryio_physical_ec_start = 0xC400,
Expand Down Expand Up @@ -1052,7 +1052,7 @@ static const struct dmi_system_id optimistic_allowlist[] = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_BIOS_VERSION, "H4CN"),
},
.driver_data = (void *)&model_fccn
.driver_data = (void *)&model_h3cn
},
{
// e.g. Ideapad Gaming 3 15ACH6
Expand Down

0 comments on commit 15cd63a

Please sign in to comment.