Clemens Ladisch
2c6315da6a
hwmon: (jc42) do not allow writing to locked registers
...
On systems where the temperature sensor is actually used, the BIOS is
likely to have locked the alarm registers. In that case, all writes
through the corresponding sysfs files would be silently ignored.
To prevent this, detect the locks and make the affected sysfs files
read-only.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: stable@kernel.org
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2011-02-16 08:18:33 -08:00
..
2011-01-08 10:55:01 -08:00
2011-01-08 10:55:00 -08:00
2010-11-11 09:32:07 -08: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-10-18 11:03:14 +02:00
2010-12-08 16:27:22 +01:00
2009-12-14 21:17:26 +01:00
2010-09-17 17:24:14 +02:00
2011-01-12 21:55:09 +01:00
2011-01-12 21:55:08 +01:00
2010-08-25 15:42:10 +02:00
2010-06-03 11:33:58 +02:00
2010-03-30 22:02:32 +09:00
2011-01-08 10:55:02 -08:00
2010-10-28 20:31:50 +02:00
2010-11-15 21:38:56 +01:00
2011-01-23 09:28:50 -08:00
2011-01-08 10:55:03 -08:00
2010-10-28 20:31:50 +02:00
2011-01-23 09:30:08 -08:00
2010-03-30 22:02:32 +09:00
2011-01-08 10:55:05 -08:00
2011-01-12 21:55:13 +01:00
2011-01-09 09:10:10 -08:00
2009-12-14 21:17:26 +01:00
2011-02-09 13:45:52 -08:00
2010-08-14 21:08:54 +02:00
2011-01-08 10:55:07 -08:00
2011-01-08 10:55:08 -08:00
2010-10-24 13:41:39 -07:00
2011-01-12 21:55:11 +01:00
2010-10-18 11:03:14 +02:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2010-11-11 09:43:51 -08:00
2011-01-08 10:55:09 -08:00
2011-01-08 10:55:10 -08:00
2011-01-08 10:55:11 -08:00
2010-11-22 12:23:39 -08:00
2011-01-08 10:55:13 -08:00
2010-03-30 22:02:32 +09:00
2011-01-12 21:55:10 +01:00
2011-02-16 08:18:33 -08:00
2010-08-05 13:26:19 +01:00
2010-10-28 20:31:42 +02:00
2010-06-20 09:22:31 +02:00
2011-02-16 08:18:32 -08:00
2010-11-22 12:23:39 -08:00
2010-10-25 14:11:38 -07:00
2011-01-25 09:10:50 -08:00
2010-10-25 14:11:39 -07:00
2011-02-09 13:45:42 -08:00
2011-01-08 10:55:15 -08:00
2010-06-03 11:33:58 +02:00
2010-10-28 20:31:44 +02:00
2010-08-14 21:08:50 +02:00
2009-12-14 21:17:26 +01:00
2011-01-12 21:55:10 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2010-10-28 20:31:50 +02:00
2009-12-14 21:17:27 +01:00
2010-10-28 20:31:44 +02:00
2009-12-14 21:17:26 +01:00
2011-01-18 12:22:54 -08:00
2011-01-08 10:55:47 -08:00
2010-12-13 09:54:50 -08:00
2010-08-14 21:08:49 +02:00
2010-11-05 10:17:19 -07:00
2011-01-09 09:10:10 -08:00
2010-03-30 22:02:32 +09:00
2009-12-14 21:17:26 +01:00
2010-11-15 21:38:56 +01:00
2010-08-12 11:28:03 +02:00
2011-01-12 21:55:11 +01:00
2011-01-12 21:55:11 +01:00
2011-01-08 10:55:16 -08:00
2011-01-08 10:55:17 -08:00
2011-01-02 15:31:11 -08:00
2010-04-14 16:14:08 +02:00
2011-01-08 10:56:28 -08:00
2011-01-08 10:55:18 -08:00
2010-08-09 20:45:10 -07:00
2011-01-08 10:55:19 -08:00
2011-01-08 10:55:27 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2010-06-03 11:33:58 +02:00
2010-05-27 19:58:49 +02:00
2010-10-28 20:31:50 +02:00
2010-08-06 09:25:50 -06:00
2011-01-12 21:55:09 +01:00
2011-01-08 10:55:48 -08:00
2011-01-08 10:55:30 -08:00
2011-01-08 10:55:31 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2011-01-08 10:55:32 -08:00
2011-01-08 10:55:33 -08:00
2011-01-12 21:55:11 +01:00
2009-12-14 21:17:26 +01:00
2011-01-12 21:55:09 +01:00
2011-01-12 21:55:11 +01:00
2011-01-12 21:55:09 +01:00
2010-03-30 22:02:32 +09:00
2009-09-17 09:46:51 +02:00