diff options
| author | Dan Carpenter <error27@gmail.com> | 2026-07-14 18:46:22 +0300 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2026-07-15 11:15:13 +0530 |
| commit | 6a9e0e0f7592313ace66303cf5eca68e04c10f30 (patch) | |
| tree | 303668c3b75de02dc1f9b8c1b4542ea847daa157 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 5a83170c8795056a401d7bfb9529af22a53fd9a4 (diff) | |
cpufreq: spear: Fix an IS_ERR() vs NULL bug in spear1340_set_cpu_rate()
The clk_get_parent() function doesn't return error pointers, it returns
NULL on error. Update the error checking to match.
Fixes: 420993221175 ("cpufreq: SPEAr: Add CPUFreq driver")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
