Skip to contentSkip to conversation

Runtime PM for PCI-based USB host controllers

DISCUSSION Alan Stern 1 participant 1 message May 26, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Alan Stern

author
#1 lore raw
Quoted 2 lines · Rafael J. Wysocki

At this point, yes. At least drivers should leave the devices active and let the core power take care of them.

What if the driver is unbound while the device is suspended? It seems pretty awkward. The release method would have to do:

	pm_runtime_get_sync(dev);
	pm_runtime_disable(dev);
	pm_runtime_set_suspended(dev);
	pm_runtime_put_noidle(dev);

Alan Stern