Patch "hwmon: (lm90) fix temp1_max_alarm attribute" has been added to the 4.9-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
hwmon: (lm90) fix temp1_max_alarm attribute
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
hwmon-lm90-fix-temp1_max_alarm-attribute.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
e9572fdd13e299cfba03abbfd2786c84ac055249Mon Sep 17 00:00:00 2001
From: Michael Walle <[email protected]>
Date: Mon, 2 Jan 2017 17:53:39 +0100
Subject: hwmon: (lm90) fix temp1_max_alarm attribute
From: Michael Walle <[email protected]>
commit e9572fdd13e299cfba03abbfd2786c84ac055249 upstream.
Since commit commit eb1c8f4325d5 ("hwmon: (lm90) Convert to use new hwmon registration API") the temp1_max_alarm and temp1_crit_alarm attributes are mapped to the same alarm bit. Fix the typo.
--- drivers/hwmon/lm90.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/lm90.c +1 -1
@@ -1036,7 +1036,7 @@ static const u8 lm90_temp_emerg_index[3] };static const u8 lm90_min_alarm_bits[3 ] = {5 ,3 ,11 }; -static const u8 lm90_max_alarm_bits[3 ] = {0 ,4 ,12 }; +static const u8 lm90_max_alarm_bits[3 ] = {6 ,4 ,12 };static const u8 lm90_crit_alarm_bits[3 ] = {0 ,1 ,9 };static const u8 lm90_emergency_alarm_bits[3 ] = {15 ,13 ,14 };static const u8 lm90_fault_bits[3 ] = {0 ,2 ,10 };
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/hwmon-lm90-fix-temp1_max_alarm-attribute.patch