[PATCH 11/13] devfreq: tegra30: Migrate to dev_pm_opp_set_opp()

Viresh Kumar viresh.kumar at linaro.org
Sun Jan 24 22:14:02 EST 2021


On 22-01-21, 18:28, Dmitry Osipenko wrote:
> Either way will work, but maybe keeping the dev_pm_opp_set_bw() is a bit
> more straightforward variant for now since it will avoid the code's
> changes and it's probably a bit more obvious variant for the OPP users.

The problem is it creates unnecessary paths which we need to support. For
example, in case of bandwidth itself we may want to update regulator/pm
domain/required OPPs and this should all be done for everyone. I really do not
want to keep separate paths for such stuff, it makes it hard to maintain..

-- 
viresh



More information about the linux-arm-kernel mailing list