linux/drivers/opp
Viresh Kumar 3d2398f44a OPP: Move break out of scoped_guard in dev_pm_opp_xlate_required_opp()
The commit ff9c512041 ("OPP: Use mutex locking guards")
unintentionally made the for loop run longer than required.

scoped_guard() is implemented as a for loop. The break statement now
breaks out out the scoped_guard() and not out of the outer for loop.
The outer loop always iterates to completion.

Fix it.

Fixes: ff9c512041 ("OPP: Use mutex locking guards")
Reported-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2026-02-23 11:05:59 +05:30
..
Kconfig
Makefile
core.c OPP: Move break out of scoped_guard in dev_pm_opp_xlate_required_opp() 2026-02-23 11:05:59 +05:30
cpu.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
debugfs.c OPP: debugfs: Use performance level if available to distinguish between rates 2026-02-23 10:25:46 +05:30
of.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
opp.h
ti-opp-supply.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00