cnds suspend crash when enable remote wakeup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

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.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux