On Fri, 3 Nov 2017, Adam Ford wrote:

> One other similar question.  I apologize for my ignorance. It appears
> as if the MUSB support suspending and resume in host mode.  If we can
> predict that the noise will generate, we're hoping to suspend the USB
> before the noise even, then resume the USB after the noise event in
> hopes that the USB doesn't disconnect and re-connect again.
> 
> Can someone point me to the right place for the documentation on how
> to suspend only the USB?  I know how to make the whole system suspend.

In general, you can't do it unless the devices on the USB bus are all
idle and suspended.

For information on runtime suspend, see 
Documentation/driver-api/pm/devices.rst and 
Documentation/driver-api/usb/power-management.rst.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to