diff options
| author | Christoph Niedermaier <[email protected]> | 2023-05-12 17:07:11 +0200 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2023-05-15 14:42:33 +0530 |
| commit | 11a3b0ac33d95aa84be426e801f800997262a225 (patch) | |
| tree | 10e09ad65187af7c6e722d80a4a1c58753d20402 /drivers/gpu/drm/amd/amdgpu/atom.c | |
| 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 <[email protected]>
[ Viresh : Updated commit subject ]
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions