Jean Delvare
8acf07c5a7
hwmon: (it87) Properly handle wrong sensor type requests
...
Currently, if someone tries to set the thermal sensor type to an
unsupported value, subsequent accesses to the chip may temporarily
show the sensor in question as disabled. Use a temporary variable
and only update the cached value on success, to prevent such
confusion.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2010-04-14 16:14:09 +02:00
..
2010-02-03 17:39:49 +11:00
2009-09-15 17:18:13 +02:00
2009-09-15 17:18:13 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-14 21:17:27 +01:00
2010-01-25 15:00:49 +01:00
2009-12-15 08:53:25 -08:00
2009-12-14 21:17:26 +01:00
2010-03-05 22:17:25 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-29 22:03:00 +02:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-09-15 17:18:13 +02:00
2009-12-09 20:36:01 +01:00
2010-03-30 22:02:32 +09:00
2010-03-05 22:17:26 +01:00
2010-03-05 22:17:22 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-09-15 17:18:13 +02:00
2009-10-29 07:39:32 -07:00
2009-09-15 17:18:11 +02:00
2009-06-15 18:39:50 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-14 16:14:09 +02:00
2010-01-10 20:52:35 +01:00
2010-01-10 20:52:35 +01:00
2010-03-29 22:03:06 +02:00
2009-12-17 15:45:30 -08:00
2009-10-08 07:36:40 -07:00
2009-12-15 08:53:36 -08:00
2009-12-15 08:53:36 -08:00
2009-12-14 21:17:26 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-14 21:17:26 +01:00
2007-10-09 22:56:29 -04:00
2009-12-14 21:17:26 +01:00
2010-02-05 19:58:36 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2010-03-05 22:17:15 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-10-04 22:53:42 +02:00
2009-10-04 22:53:42 +02:00
2010-03-05 22:17:26 +01:00
2010-03-30 22:02:32 +09:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2010-03-30 22:02:32 +09:00
2009-09-15 17:18:13 +02:00
2009-09-15 17:18:13 +02:00
2009-12-14 21:17:26 +01:00
2009-12-09 20:35:45 +01:00
2010-04-14 16:14:08 +02:00
2010-01-10 20:52:35 +01:00
2009-09-15 17:18:13 +02:00
2010-01-25 15:00:48 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2010-03-05 22:17:26 +01:00
2010-03-05 22:17:26 +01:00
2008-08-31 01:23:17 -07:00
2010-01-10 20:52:35 +01:00
2009-12-16 21:38:28 +01:00
2009-09-15 17:18:13 +02:00
2010-03-06 11:26:45 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-15 08:53:35 -08:00
2009-12-16 21:38:29 +01:00
2010-02-05 19:58:36 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2010-03-29 22:03:03 +02:00
2010-03-30 22:02:32 +09:00
2009-09-17 09:46:51 +02:00