Thread (9 messages) 9 messages, 3 authors, 2021-08-16

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

From: Thierry Reding <hidden>
Date: 2021-08-11 09:49:51
Also in: linux-tegra, lkml

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@gmail.com>
---
 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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help