Skip to content

Commit 51e5e55

Browse files
ujfalusijarkkojs
authored andcommitted
tpm: tpm_tis: Fix UPX-i11 DMI_MATCH condition
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. Cc: stable@vger.kernel.org # v6.4+ Fixes: edb13d7 ("tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11") Link: https://lore.kernel.org/lkml/20230524085844.11580-1-peter.ujfalusi@linux.intel.com/ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
1 parent 190bf7b commit 51e5e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/tpm/tpm_tis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
183183
.ident = "UPX-TGL",
184184
.matches = {
185185
DMI_MATCH(DMI_SYS_VENDOR, "AAEON"),
186-
DMI_MATCH(DMI_PRODUCT_VERSION, "UPX-TGL"),
186+
DMI_MATCH(DMI_PRODUCT_NAME, "UPX-TGL01"),
187187
},
188188
},
189189
{}

0 commit comments

Comments
 (0)