summaryrefslogtreecommitdiff
path: root/drivers/ide/arm/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2026-02-23 11:05:59 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2026-02-23 11:05:59 +0530
commit3d2398f44a2d48fb1c575a6e0bc6b38f3e689e22 (patch)
tree912a3dda8a6def1609c8d096d15397e2ba51b51d /drivers/ide/arm/git@git.tavy.me:linux.git
parente560083c0467f86b72aecac377b27bd1e7d16c49 (diff)
OPP: Move break out of scoped_guard in dev_pm_opp_xlate_required_opp()
The commit ff9c512041f2 ("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: ff9c512041f2 ("OPP: Use mutex locking guards") Reported-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/ide/arm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions