1
0
Fork 0
alistair23-linux/drivers/opp
Viresh Kumar 50b6b87c84 OPP: Improve error handling in dev_pm_opp_of_cpumask_add_table()
The error handling wasn't appropriate in
dev_pm_opp_of_cpumask_add_table(). For example it returns 0 on success
and also for the case where cpumask is empty or cpu_device wasn't found
for any of the CPUs.

It should really return error on such cases, so that the callers can be
aware of the outcome.

Fix it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2018-10-04 09:10:56 +05:30
..
Kconfig PM / OPP: Move the OPP directory out of power/ 2017-10-03 02:45:12 +02:00
Makefile PM / OPP: Add ti-opp-supply driver 2017-12-17 19:17:44 +01:00
core.c OPP: Prevent creating multiple OPP tables for devices sharing OPP nodes 2018-10-01 15:00:31 +05:30
cpu.c OPP: Don't remove dynamic OPPs from _dev_pm_opp_remove_table() 2018-09-19 14:56:45 -07:00
debugfs.c PM / OPP: "opp-hz" is optional for power domains 2018-05-09 10:15:18 +05:30
of.c OPP: Improve error handling in dev_pm_opp_of_cpumask_add_table() 2018-10-04 09:10:56 +05:30
opp.h OPP: Prevent creating multiple OPP tables for devices sharing OPP nodes 2018-10-01 15:00:31 +05:30
ti-opp-supply.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00