diff options
author | Tony Lindgren <[email protected]> | 2022-06-22 08:12:15 +0300 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2022-07-13 12:29:17 +0200 |
commit | 51189eb9ddc88851edc42f539a0f9862fd0630c2 (patch) | |
tree | 5793468dd46ae36ad551aacd14f74c565234639f /scripts/bpf_doc.py | |
parent | 32346491ddf24599decca06190ebca03ff9de7f8 (diff) |
mmc: sdhci-omap: Fix a lockdep warning for PM runtime init
We need runtime PM enabled early in probe before sdhci_setup_host() for
sdhci_omap_set_capabilities(). But on the first runtime resume we must
not call sdhci_runtime_resume_host() as sdhci_setup_host() has not been
called yet. Let's check for an initialized controller like we already do
for context restore to fix a lockdep warning.
Fixes: f433e8aac6b9 ("mmc: sdhci-omap: Implement PM runtime functions")
Reported-by: Yegor Yefremov <[email protected]>
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions