android_kernel_motorola_sm6375/drivers/opp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rajendra Nayak d02a1c5fd7 opp: Don't print an error if required-opps is missing
[ Upstream commit 020d86fc0df8b865f6dc168d88a7c2dccabd0a9e ]

The 'required-opps' property is considered optional, hence remove
the pr_err() in of_parse_required_opp() when we find the property is
missing.
While at it, also fix the return value of
of_get_required_opp_performance_state() when of_parse_required_opp()
fails, return a -ENODEV instead of the -EINVAL.

Signed-off-by: Rajendra Nayak <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-09-22 12:26:33 +02:00
..
core.c opp: Reduce the size of critical section in _opp_table_kref_release() 2020-11-18 19:20:21 +01:00
cpu.c
debugfs.c
Kconfig
Makefile
of.c opp: Don't print an error if required-opps is missing 2021-09-22 12:26:33 +02:00
opp.h opp: Replace list_kref with a local counter 2020-10-01 13:17:26 +02:00
ti-opp-supply.c