Jean Delvare
c7a78d2c2e
hwmon: (sht15) Properly handle the case CONFIG_REGULATOR=n
...
When CONFIG_REGULATOR isn't set, regulator_get_voltage() returns 0.
Properly handle this case by not trusting the value.
Reported-by: Jerome Oufella <jerome.oufella@savoirfairelinux.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
2010-04-14 16:14:08 +02:00
..
2010-04-06 17:06:22 -04:00
2010-04-06 10:55:33 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-09 10:05:33 -07:00
2010-04-09 11:50:29 -07:00
2010-03-30 22:02:32 +09:00
2010-02-26 13:58:08 +01:00
2010-04-08 09:46:20 +09:30
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-03-30 22:02:32 +09: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-03-30 22:02:32 +09:00
2010-03-06 11:26:32 -08:00
2010-03-30 22:02:32 +09:00
2010-04-07 11:02:23 -07:00
2010-04-07 08:38:02 -07:00
2010-04-09 11:50:01 -07:00
2010-04-05 11:37:28 +09:00
2010-04-14 16:14:08 +02:00
2010-03-30 22:02:32 +09:00
2010-04-08 07:45:36 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-09 11:53:06 -07: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-03-30 22:02:32 +09:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:03 -07: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-05 11:37:28 +09:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-04-13 03:03:16 -07:00
2010-03-30 22:02:32 +09:00
2010-04-05 11:37:28 +09: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-05 11:37:28 +09:00
2010-04-06 13:03:52 -07:00
2010-04-07 08:38:03 -07:00
2010-04-06 17:06:22 -04: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-03-30 22:02:32 +09:00
2010-04-07 08:38:05 -07:00
2010-04-09 13:43:02 +02:00
2010-03-30 22:02:32 +09:00
2010-04-09 11:50:29 -07:00
2010-04-05 11:37:28 +09: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-12 17:26:14 +01:00
2010-04-05 11:23:16 +09:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-04-05 11:37:28 +09:00
2010-03-30 22:02:32 +09:00
2010-04-11 02:44:30 -07:00
2010-04-07 08:38:04 -07: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-06 09:56:40 -07:00
2010-03-30 22:02:32 +09:00
2010-02-15 15:38:10 +01:00
2010-03-06 11:26:28 -08:00
2010-03-08 20:21:04 +00:00