Commit 21dec022 authored by Primoz Fiser's avatar Primoz Fiser Committed by Greg Kroah-Hartman
Browse files

OPP: ti: Fix ti_opp_supply_probe wrong return values



[ Upstream commit 3a1ac6b8 ]

Function ti_opp_supply_probe() since commit 6baee034 ("OPP: ti:
Migrate to dev_pm_opp_set_config_regulators()") returns wrong values
when all goes well and hence driver probing eventually fails.

Fixes: 6baee034 ("OPP: ti: Migrate to dev_pm_opp_set_config_regulators()")
Signed-off-by: default avatarPrimoz Fiser <primoz.fiser@norik.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d94eb194
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment