Skip to content

Commit 229d5ec

Browse files
floatioussmb49
authored andcommitted
ata: ahci: Use correct DMI identifier for ASUSPRO-D840SA LPM quirk
BugLink: https://bugs.launchpad.net/bugs/2120812 commit 3e0809b1664b9dc650d9dbca9a2d3ac690d4f661 upstream. ASUS store the board name in DMI_PRODUCT_NAME rather than DMI_PRODUCT_VERSION. (Apparently it is only Lenovo that stores the model-name in DMI_PRODUCT_VERSION.) Use the correct DMI identifier, DMI_PRODUCT_NAME, to match the ASUSPRO-D840SA board, such that the quirk actually gets applied. Cc: [email protected] Reported-by: Andy Yang <[email protected]> Tested-by: Andy Yang <[email protected]> Closes: https://lore.kernel.org/linux-ide/aFb3wXAwJSSJUB7o@ryzen/ Fixes: b5acc3628898 ("ata: ahci: Disallow LPM for ASUSPRO-D840SA motherboard") Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Niklas Cassel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> (cherry picked from commit 59e31c92b3bc47396ad737536983fbf536c7e966 linux-6.12.y) [nwager: Follow-up fix from v6.12.36] Signed-off-by: Noah Wager <[email protected]> Signed-off-by: Stefan Bader <[email protected]>
1 parent 87088f1 commit 229d5ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ata/ahci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ static bool ahci_broken_lpm(struct pci_dev *pdev)
14561456
{
14571457
.matches = {
14581458
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
1459-
DMI_MATCH(DMI_PRODUCT_VERSION, "ASUSPRO D840MB_M840SA"),
1459+
DMI_MATCH(DMI_PRODUCT_NAME, "ASUSPRO D840MB_M840SA"),
14601460
},
14611461
/* 320 is broken, there is no known good version. */
14621462
},

0 commit comments

Comments
 (0)