umber-kernel/drivers/opp
Aleks Todorov 27feb209c2 OPP: Return correct value in dev_pm_opp_get_level
[ Upstream commit 0b7277e02dabba2a9921a7f4761ae6e627e7297a ]

Commit 073d3d2ca7 ("OPP: Level zero is valid") modified the
documentation for this function to indicate that errors should return a
non-zero value to avoid colliding with the OPP level zero, however
forgot to actually update the return.

No in-tree kernel code depends on the error value being 0.

Fixes: 073d3d2ca7 ("OPP: Level zero is valid")
Signed-off-by: Aleks Todorov <aleksbgbg@google.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-02-26 14:59:00 -08:00
..
Kconfig
Makefile
core.c OPP: Return correct value in dev_pm_opp_get_level 2026-02-26 14:59:00 -08:00
cpu.c OPP: Use mutex locking guards 2025-05-02 10:55:52 +05:30
debugfs.c saner replacement for debugfs_rename() 2025-01-15 13:14:37 +01:00
of.c OPP: Use mutex locking guards 2025-05-02 10:55:52 +05:30
opp.h OPP: Remove _get_opp_table_kref() 2025-04-24 16:05:33 +05:30
ti-opp-supply.c opp: ti: Drop unnecessary of_match_ptr() 2024-09-04 20:43:41 +05:30