[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170109234331.GX17126@codeaurora.org>
Date: Mon, 9 Jan 2017 15:43:31 -0800
From: Stephen Boyd <sboyd@...eaurora.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Rafael Wysocki <rjw@...ysocki.net>,
Viresh Kumar <vireshk@...nel.org>, Nishanth Menon <nm@...com>,
linaro-kernel@...ts.linaro.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Vincent Guittot <vincent.guittot@...aro.org>
Subject: Re: [PATCH 05/12] PM / OPP: Use dev_pm_opp_get_opp_table() instead
of _add_opp_table()
On 12/07, Viresh Kumar wrote:
> Migrate all users of _add_opp_table() to use dev_pm_opp_get_opp_table()
> to guarantee that the OPP table doesn't get freed while being used.
>
> Also update _managed_opp() to get the reference to the OPP table.
>
> Now that the OPP table wouldn't get freed while these routines are
> executing after dev_pm_opp_get_opp_table() is called, there is no need
> to take opp_table_lock. Drop them as well.
>
> Now that _add_opp_table(), _remove_opp_table() and the unlocked release
> routines aren't used anymore, remove them.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
> ---
Reviewed-by: Stephen Boyd <sboyd@...eaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists