ata: ahci: Use correct DMI identifier for ASUSPRO-D840SA LPM quirk
authorNiklas Cassel <cassel@kernel.org>
Tue, 24 Jun 2025 07:40:30 +0000 (09:40 +0200)
committerNiklas Cassel <cassel@kernel.org>
Wed, 25 Jun 2025 13:17:57 +0000 (15:17 +0200)
commit3e0809b1664b9dc650d9dbca9a2d3ac690d4f661
tree9dc98184a05d05aedb327a636551a700c8ec3f15
parenta7b3b77fd111d49f8e25624e4ea1046322a57baf
ata: ahci: Use correct DMI identifier for ASUSPRO-D840SA LPM quirk

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: stable@vger.kernel.org
Reported-by: Andy Yang <andyybtc79@gmail.com>
Tested-by: Andy Yang <andyybtc79@gmail.com>
Closes: https://lore.kernel.org/linux-ide/aFb3wXAwJSSJUB7o@ryzen/
Fixes: b5acc3628898 ("ata: ahci: Disallow LPM for ASUSPRO-D840SA motherboard")
Reviewed-by: Hans de Goede <hansg@kernel.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20250624074029.963028-2-cassel@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/ahci.c