summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-06-21 11:06:41 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-06-24 23:00:36 +0200
commit1dd2058f902eb2d8bd5bedab0b190a21d5245e71 (patch)
treeaa3907846de459b2010d51affc42bbffa0e62baf /Documentation
parent7daf201d7fe8334e2d2364d4e8ed3394ec9af819 (diff)
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions