mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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: 27dbc542f6 ("PM / devfreq: Use PM QoS for sysfs min/max_freq")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Leonard Crestez <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>