[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <65f65cb9-a25f-9c2c-2902-7e1776d66661@gmail.com>
Date: Mon, 24 May 2021 23:25:07 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Ulf Hansson <ulf.hansson@...aro.org>
Cc: Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Michał Mirosław <mirq-linux@...e.qmqm.pl>,
Nikola Milosavljević <mnidza@...look.com>,
Peter Geis <pgwipeout@...il.com>,
Nicolas Chauvet <kwizart@...il.com>,
Viresh Kumar <vireshk@...nel.org>,
Stephen Boyd <sboyd@...nel.org>,
Matt Merhar <mattmerhar@...tonmail.com>,
Paul Fertser <fercerpav@...il.com>,
Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Mikko Perttunen <mperttunen@...dia.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-tegra <linux-tegra@...r.kernel.org>,
DTML <devicetree@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>,
Nathan Chancellor <nathan@...nel.org>,
linux-clk <linux-clk@...r.kernel.org>
Subject: Re: [PATCH v2 13/14] soc/tegra: pmc: Add core power domain
24.05.2021 20:04, Ulf Hansson пишет:
>> +static void tegra_pmc_sync_state(struct device *dev)
>> +{
>> + int err;
>> +
>> + pmc->core_domain_state_synced = true;
>> +
>> + /* this is a no-op if core regulator isn't used */
>> + mutex_lock(&pmc->powergates_lock);
>> + err = dev_pm_opp_sync_regulators(dev);
>> + mutex_unlock(&pmc->powergates_lock);
>> +
>> + if (err)
>> + dev_err(dev, "failed to sync regulators: %d\n", err);
>> +}
>> +
> Nitpick.
>
> Would you mind splitting the "sync_state" thingy out into a separate
> patch on top of $subject patch?
>
> I think it would be nice, especially since it shares a function via
> include/soc/tegra/common.h - that would make it clear to what part
> that belongs to.
>
I'll split it in v3. Thank you for the review.
Powered by blists - more mailing lists