hwmon: (asus_atk0110) Add quirk for Asus M5A78L
authorLuca Tettamanti <[email protected]>
Tue, 21 Aug 2012 15:36:28 +0000 (17:36 +0200)
committerGuenter Roeck <[email protected]>
Thu, 23 Aug 2012 05:33:31 +0000 (22:33 -0700)
The old interface is bugged and reads the wrong sensor when retrieving
the reading for the chassis fan (it reads the CPU sensor); the new
interface works fine.

Reported-by: Göran Uddeborg <[email protected]>
Cc: [email protected]
Tested-by: Göran Uddeborg <[email protected]>
Signed-off-by: Luca Tettamanti <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
drivers/hwmon/asus_atk0110.c

index 351d1f4593e7a8276da3ff7cdd9b286d4ea2b097..4ee5789487233dbe6bf03920fa29fb820d366b8d 100644 (file)
@@ -34,6 +34,12 @@ static const struct dmi_system_id __initconst atk_force_new_if[] = {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "SABERTOOTH X58")
                }
+       }, {
+               /* Old interface reads the same sensor for fan0 and fan1 */
+               .ident = "Asus M5A78L",
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "M5A78L")
+               }
        },
        { }
 };