Linus Walleij
47c332deb8
hwmon: Deal with errors from the thermal subsystem
...
If the thermal subsystem returne -EPROBE_DEFER or any other error
when hwmon calls devm_thermal_zone_of_sensor_register(), this is
silently ignored.
I ran into this with an incorrectly defined thermal zone, making
it non-existing and thus this call failed with -EPROBE_DEFER
assuming it would appear later. The sensor was still added
which is incorrect: sensors must strictly be added after the
thermal zones, so deferred probe must be respected.
Fixes: d560168b5d ("hwmon: (core) New hwmon registration API")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2017-12-26 11:53:24 -08:00
..
2017-11-27 20:29:22 -08:00
2017-09-14 11:59:30 +02:00
2017-04-02 07:01:53 -07:00
2017-08-13 08:24:38 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-08-13 08:24:38 -07:00
2017-04-02 07:01:53 -07:00
2017-01-02 10:19:45 -08:00
2017-11-02 11:10:55 +01:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-08-13 08:24:38 -07:00
2017-09-14 11:59:30 +02:00
2017-01-02 10:19:45 -08:00
2017-10-29 18:36:03 -07:00
2017-11-04 11:09:34 -07:00
2017-03-23 12:01:57 -07:00
2017-01-02 10:19:45 -08:00
2017-05-14 07:49:32 -07:00
2017-10-21 09:03:29 -07:00
2017-09-14 11:59:30 +02:00
2017-01-10 08:57:55 -08:00
2017-06-11 17:08:19 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-08-29 17:44:23 -07:00
2017-01-02 10:19:45 -08:00
2017-02-27 18:43:47 -08:00
2017-01-10 08:58:36 -08:00
2017-01-10 08:59:35 -08:00
2017-10-29 18:36:03 -07:00
2017-12-26 11:53:24 -08:00
2017-08-13 08:24:38 -07:00
2017-01-02 10:19:45 -08:00
2017-06-20 13:52:19 -07:00
2017-04-02 07:01:53 -07:00
2017-04-21 12:30:09 -07:00
2017-08-13 08:24:38 -07:00
2017-11-30 13:12:44 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-11-16 00:59:45 -08:00
2017-10-29 18:36:03 -07:00
2017-04-02 07:01:53 -07:00
2017-01-21 12:26:38 -08:00
2017-04-02 07:01:53 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-04-02 07:01:53 -07:00
2017-04-13 06:09:26 -07:00
2017-04-02 07:01:53 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-04-02 07:01:53 -07:00
2017-01-21 08:57:41 -08:00
2017-06-11 17:08:19 -07:00
2017-09-01 07:24:14 -07:00
2017-11-13 08:55:46 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-10-29 18:36:03 -07:00
2017-10-29 18:36:03 -07:00
2017-06-11 17:08:19 -07:00
2017-01-02 10:19:45 -08:00
2017-04-02 07:01:53 -07:00
2017-03-22 00:18:20 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-06-11 17:08:19 -07:00
2017-08-13 08:24:38 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-06-11 17:08:19 -07:00
2017-01-02 10:19:45 -08:00
2017-08-13 08:24:38 -07:00
2017-10-29 18:36:03 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-10-29 18:36:03 -07:00
2017-10-24 06:17:14 -07:00
2017-04-24 06:30:41 -07:00
2017-01-10 09:01:32 -08:00
2017-04-02 07:01:53 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-04-02 07:01:53 -07:00
2017-01-02 10:19:45 -08:00
2017-11-16 01:01:55 -08:00
2017-11-16 01:02:23 -08:00
2017-11-16 01:02:43 -08:00
2017-11-16 01:03:19 -08:00
2017-11-01 06:14:52 -07:00