Skip to content

Commit

Permalink
tpm: tpm_tis: Fix UPX-i11 DMI_MATCH condition
Browse files Browse the repository at this point in the history
The patch which made it to the kernel somehow changed the
match condition from
DMI_MATCH(DMI_PRODUCT_NAME, "UPX-TGL01")
to
DMI_MATCH(DMI_PRODUCT_VERSION, "UPX-TGL")

Revert back to the correct match condition to disable the
interrupt mode on the board.

Link: https://lore.kernel.org/lkml/[email protected]/
Fixes: edb13d7 ("tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11")
  • Loading branch information
ujfalusi authored and plbossart committed Aug 8, 2023
1 parent c6a21bc commit 10b82ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/tpm/tpm_tis.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
.ident = "UPX-TGL",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "AAEON"),
DMI_MATCH(DMI_PRODUCT_VERSION, "UPX-TGL"),
DMI_MATCH(DMI_PRODUCT_NAME, "UPX-TGL01"),
},
},
{}
Expand Down

0 comments on commit 10b82ff

Please sign in to comment.