diff options
author | Christoph Niedermaier <cniedermaier@dh-electronics.com> | 2023-05-12 17:07:11 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-05-15 14:42:33 +0530 |
commit | 11a3b0ac33d95aa84be426e801f800997262a225 (patch) | |
tree | 10e09ad65187af7c6e722d80a4a1c58753d20402 /scripts/gdb/linux/lists.py | |
parent | dcfce7c2cee481853e7717890e1e2d6daba354c4 (diff) |
cpufreq: imx6q: don't warn for disabling a non-existing frequency
It is confusing if a warning is given for disabling a non-existent
frequency of the operating performance points (OPP). In this case
the function dev_pm_opp_disable() returns -ENODEV. Check the return
value and avoid the output of a warning in this case. Avoid code
duplication by using a separate function.
Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
[ Viresh : Updated commit subject ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions