* cnds suspend crash when enable remote wakeup
@ 2022-01-06 19:02 Zhi Li
0 siblings, 0 replies; only message in thread
From: Zhi Li @ 2022-01-06 19:02 UTC (permalink / raw)
To: Peter Chen, linux-usb
Peter:
resent as plain text.
xhci_disable_hub_port_wake access register cause crash because clock
is turned off by imx cnds run time suspend.
before Ulf's patch, power domain will can run time resume before call
xhci_disable_hub_port_wake
when disable remote wakeup, choose_wakeup will call pm_runtime_resume.
but when enable remote wakeup, choose_wakeup will not call pm_runtime_resume.
best regards
Frank Li
The below commit cause this problem.
commit c1df456d0f06eb9275c1cd4c66548fc5738ea428
Author: Ulf Hansson ulf.hansson@linaro.org
Date: Thu Mar 4 20:28:43 2021 +0100
PM: domains: Don't runtime resume devices at genpd_prepare()
Runtime resuming a device upfront in the genpd_prepare() callback,
to check if there is a wakeup pending for it, seems like an
unnecessary thing to do.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-06 19:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 19:02 cnds suspend crash when enable remote wakeup Zhi Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).