Re: [PATCH v1 1/2] soc/tegra: pmc: Prevent racing with cpuilde driver

From: Thierry Reding
Date: Wed Aug 11 2021 - 05:49:51 EST


On Mon, Jul 19, 2021 at 12:27:05AM +0300, Dmitry Osipenko wrote:
> Both PMC and cpuidle drivers are probed at the same init level and
> cpuidle depends on the PMC suspend mode. Add new default suspend mode
> that indicates whether PMC driver has been probed and reset the mode in
> a case of deferred probe of the PMC driver.
>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> arch/arm/mach-tegra/pm.c | 2 +-
> arch/arm/mach-tegra/pm.h | 6 ------
> arch/arm/mach-tegra/tegra.c | 2 --
> drivers/soc/tegra/pmc.c | 14 +++++++++++++-
> include/soc/tegra/pm.h | 6 ++++++
> 5 files changed, 20 insertions(+), 10 deletions(-)

Applied, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature