Dan Carpenter
1dd2058f90
cpufreq: qcom-kryo: Fix error handling in probe()
...
We should return if get_cpu_device() fails or it leads to a NULL
dereference. Also dev_pm_opp_of_get_opp_desc_node() returns NULL on
error, it never returns error pointers.
Fixes: 46e2856b8e18 (cpufreq: Add Kryo CPU scaling driver)
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2018-06-24 23:00:36 +02:00
..
2018-06-13 07:24:18 -07:00
2018-02-07 11:26:37 +01:00
2017-11-08 23:22:20 +01:00
2018-06-12 16:19:22 -07:00
2017-11-08 23:22:19 +01:00
2018-05-10 11:43:59 +02:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-07-22 02:25:20 +02:00
2016-04-02 01:09:01 +02:00
2018-06-08 11:40:44 +02:00
2017-07-26 00:15:45 +02:00
2017-07-22 02:25:20 +02:00
2016-06-09 00:58:06 +02:00
2016-06-02 23:24:15 +02:00
2016-06-02 23:24:15 +02:00
2018-01-05 13:22:46 +01:00
2016-06-02 23:24:15 +02:00
2018-05-30 12:53:11 +02:00
2018-05-10 11:43:59 +02:00
2018-05-10 11:43:59 +02:00
2017-07-26 00:15:46 +02:00
2018-05-30 11:16:59 +02:00
2017-01-02 15:02:51 +05:30
2018-03-20 12:07:52 +01:00
2018-03-20 12:07:52 +01:00
2018-02-08 10:21:39 +01:00
2018-04-10 08:40:45 +02:00
2017-07-26 00:15:46 +02:00
2014-10-21 11:21:19 -07:00
2018-06-12 16:19:22 -07:00
2018-06-13 07:24:18 -07:00
2018-06-19 10:40:29 +02:00
2018-02-07 11:44:23 +01:00
2018-06-06 08:29:29 +02:00
2015-03-18 22:35:16 +01:00
2016-11-30 08:27:08 +01:00
2017-05-30 00:09:41 +02:00
2018-06-12 16:19:22 -07:00
2013-07-14 19:36:57 -04:00
2017-07-26 00:15:43 +02:00
2016-05-13 14:02:08 +02:00
2017-08-18 01:44:21 +02:00
2018-05-30 12:53:11 +02:00
2016-04-09 01:35:18 +02:00
2018-03-20 12:07:52 +01:00
2017-12-16 02:29:43 +01:00
2017-01-30 09:22:21 +01:00
2018-03-20 12:07:52 +01:00
2018-02-08 10:21:39 +01:00
2016-07-22 23:51:06 +02:00
2017-07-26 00:15:46 +02:00
2017-08-25 01:20:46 +02:00
2018-03-20 12:07:52 +01:00
2018-03-20 12:07:52 +01:00
2011-05-19 18:51:07 -04:00
2018-03-20 12:07:52 +01:00
2014-05-17 01:27:01 +02:00
2018-04-27 16:16:10 +10:00
2013-04-10 13:19:26 +02:00
2017-02-04 00:05:30 +01:00
2018-03-20 12:07:52 +01:00
2017-11-02 11:10:55 +01:00
2018-03-20 12:07:52 +01:00
2018-06-12 16:19:22 -07:00
2018-06-24 23:00:36 +02:00
2018-03-20 12:07:52 +01:00
2016-04-09 01:35:18 +02:00
2018-06-12 16:19:22 -07:00
2016-12-21 02:54:18 +01:00
2014-07-19 04:24:59 +09:00
2016-04-09 01:35:18 +02:00
2017-02-09 01:22:45 +01:00
2018-05-10 11:50:42 +02:00
2017-07-26 22:54:01 +02:00
2017-07-26 00:15:46 +02:00
2017-07-26 00:15:46 +02:00
2018-03-20 12:07:52 +01:00
2018-05-10 10:49:40 +01:00
2018-03-20 12:07:52 +01:00
2018-06-12 16:19:22 -07:00
2018-03-20 12:07:52 +01:00
2018-03-20 12:07:52 +01:00
2018-03-20 12:07:52 +01:00
2018-06-12 16:19:22 -07:00
2018-03-20 12:07:52 +01:00
2018-03-20 12:07:52 +01:00
2018-05-10 11:46:00 +02:00
2011-05-19 18:51:07 -04:00
2018-03-20 12:07:52 +01:00
2017-08-25 01:20:46 +02:00
2017-07-22 02:20:59 +02:00
2018-05-21 13:44:24 +02:00
2016-04-09 01:12:09 +02:00
2018-03-20 12:07:53 +01:00
2018-06-06 08:34:31 +02:00
2017-07-26 00:15:46 +02:00
2017-11-08 23:22:20 +01:00