]> www.infradead.org Git - users/jedix/linux-maple.git/commit
OPP: ti: Fix ti_opp_supply_probe wrong return values
authorPrimoz Fiser <primoz.fiser@norik.com>
Thu, 6 Jun 2024 07:01:27 +0000 (09:01 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 11 Jun 2024 05:28:48 +0000 (10:58 +0530)
commit3a1ac6b8f603a9310274990a0ad563a5fb709f59
tree9849365c1af74a278412ebc30a16ee704372fc9a
parent101388b8ef1027be72e399beeb97293cce67bb24
OPP: ti: Fix ti_opp_supply_probe wrong return values

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

Fixes: 6baee034cb55 ("OPP: ti: Migrate to dev_pm_opp_set_config_regulators()")
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/ti-opp-supply.c