Re: [PATCH 2/2 v2] hwmon: (jc42) Don't reset hysteresis on device removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 26, 2012 at 10:18:43PM +0200, Jean Delvare wrote:
> Restoring the configuration register on device removal has the side
> effect of also resetting the hysteresis value. This is inconsistent as
> the other limits are not reset, only hysteresis. So, following the
> principle of least surprise, preserve the hysteresis value when
> restoring the configuration register.
> 
> Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> Cc: Guenter Roeck <linux@xxxxxxxxxxxx>


Applied.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux