Re: [PATCH v4] usb: dwc3: debugfs: Prevent any register access when devices

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

 



On Wed, Apr 05, 2023 at 10:20:45AM +0200, Johan Hovold wrote:
> Alan did point out though, that the ehci driver returns a string like
> "suspended" when trying to access registers for a suspended device.
> 
> That behaviour dates back to before the git era though and long before
> we had runtime PM. In fact, ehci still does not seem to implement
> runtime PM so this check would essentially only kick when the HCD is
> dead IIUC.

In fact there is runtime PM support for ehci-hcd.  You probably missed
it because the routines are defined in core/hcd-pci.c.

Alan Stern



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

  Powered by Linux