From: Tony Lindgren <tony@atomide.com>
To: Adrian Hunter <adrian.hunter@intel.com>
Cc: Chunyan Zhang <zhang.chunyan@linaro.org>,
Faiz Abbas <faiz_abbas@ti.com>,
Kishon Vijay Abraham I <kishon@ti.com>,
Santosh Shilimkar <ssantosh@kernel.org>,
linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org,
Yegor Yefremov <yegorslists@googlemail.com>,
Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH] mmc: sdhci-omap: Fix a lockdep warning for PM runtime init
Date: Wed, 22 Jun 2022 08:09:53 +0300 [thread overview]
Message-ID: <YrKkIRyhHnVcCyZt@atomide.com> (raw)
In-Reply-To: <173521c9-2e5c-8301-1dcf-b6f692866ef2@intel.com>
* Adrian Hunter <adrian.hunter@intel.com> [220617 06:20]:
> On 17/06/22 07:03, Tony Lindgren wrote:
> > We need hardware enabled early in probe to detect capabilities, but must
> > not call sdhci_runtime_resume_host() until sdhci_setup_host() has been
> > called. Let's check for an initialized controller like we already do
> > for context restore.
>
> Begs the question: why not prevent runtime pm until after sdhci_setup_host().
> Maybe expand the commit message explanation a bit?
Sure will add some comments for why sdhci_omap_set_capabilities() is needed
before sdhci_setup_host() and post v2.
Thanks,
Tony
prev parent reply other threads:[~2022-06-22 5:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-17 4:03 [PATCH] mmc: sdhci-omap: Fix a lockdep warning for PM runtime init Tony Lindgren
2022-06-17 6:25 ` Adrian Hunter
2022-06-22 5:09 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YrKkIRyhHnVcCyZt@atomide.com \
--to=tony@atomide.com \
--cc=adrian.hunter@intel.com \
--cc=arnd@arndb.de \
--cc=faiz_abbas@ti.com \
--cc=kishon@ti.com \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=ssantosh@kernel.org \
--cc=yegorslists@googlemail.com \
--cc=zhang.chunyan@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.