Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43ca6cb2 authored by Luca Tettamanti's avatar Luca Tettamanti Committed by Guenter Roeck
Browse files

hwmon: (asus_atk0110) Add quirk for Asus M5A78L



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: default avatarGöran Uddeborg <goeran@uddeborg.se>
Cc: stable@vger.kernel.org
Tested-by: default avatarGöran Uddeborg <goeran@uddeborg.se>
Signed-off-by: default avatarLuca Tettamanti <kronos.it@gmail.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent fea7a08a
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -34,6 +34,12 @@ static const struct dmi_system_id __initconst atk_force_new_if[] = {
		.matches = {
		.matches = {
			DMI_MATCH(DMI_BOARD_NAME, "SABERTOOTH X58")
			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")
		}
	},
	},
	{ }
	{ }
};
};