mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 04:53:36 +01:00
5209d1b654
The caller of the function dev_pm_qos_add_request() checks again a non
zero value but dev_pm_qos_add_request() can return '1' if the request
already exists. Therefore, the setup function fails while the QoS
request actually did not failed.
Fix that by changing the check against a negative value like all the
other callers of the function.
Fixes:
|
||
---|---|---|
.. | ||
arm_scmi_powercap.c | ||
dtpm.c | ||
dtpm_cpu.c | ||
dtpm_devfreq.c | ||
dtpm_subsys.h | ||
idle_inject.c | ||
intel_rapl_common.c | ||
intel_rapl_msr.c | ||
intel_rapl_tpmi.c | ||
Kconfig | ||
Makefile | ||
powercap_sys.c |