ata: ahci: Use correct BIOS build date for ThinkPad W541 quirk
authorNiklas Cassel <cassel@kernel.org>
Tue, 10 Jun 2025 11:07:59 +0000 (13:07 +0200)
committerNiklas Cassel <cassel@kernel.org>
Wed, 11 Jun 2025 10:30:00 +0000 (12:30 +0200)
Fix the TODO in ahci_broken_lpm() by using the proper BIOS build date.

The proper BIOS build date was provided by Hans, see Link.

Link: https://lore.kernel.org/linux-ide/6ea509c8-b38d-4941-8a29-c1117ff3dd5b@redhat.com/
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250610110757.1318959-6-cassel@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/ahci.c

index 163ac909bd0689aacb8fed6f00431c88e1e601fd..e7c8357cbc541667779709ca36ed673e1539349e 100644 (file)
@@ -1438,13 +1438,7 @@ static bool ahci_broken_lpm(struct pci_dev *pdev)
                                DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
                                DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W541"),
                        },
-                       /*
-                        * Note date based on release notes, 2.35 has been
-                        * reported to be good, but I've been unable to get
-                        * a hold of the reporter to get the DMI BIOS date.
-                        * TODO: fix this.
-                        */
-                       .driver_data = "20180310", /* 2.35 */
+                       .driver_data = "20180409", /* 2.35 */
                },
                { }     /* terminate list */
        };