diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2020-03-12 17:36:06 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2020-03-25 08:35:03 +0900 |
commit | 4c6abef7b46204d2db790b209e799162f39112d0 (patch) | |
tree | 6ee3217a640eedc0a324088e2d52fbc91a05f13e /drivers/pci/controller/pci-host-generic.c | |
parent | 3bb5ee9aaa34617845a8fc0e0be9cf99139cbc2e (diff) |
PM / devfreq: Fix handling dev_pm_qos_remove_request result
The dev_pm_qos_remove_request function can return 1 if
"aggregated constraint value has changed" so only negative values should
be reported as errors.
Fixes: 27dbc542f651 ("PM / devfreq: Use PM QoS for sysfs min/max_freq")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions