[PATCH] usb: ehci/ohci: use SIMPLE_DEV_PM_OPS to support hibernation

Alan Stern stern at rowland.harvard.edu
Thu Oct 23 07:11:44 PDT 2014


On Thu, 23 Oct 2014, Wonhong Kwon wrote:

> ehci/ohci just define .suspend/.resume functions for dev_pm_ops, but
> in order to support both STR(suspend-to-ram) and hibernation, other
> callbacks such as .freeze/.thaw are also required.
> 
> Registering all required callbacks for both STR and hibernation can
> be done by SIMPLE_DEV_PM_OPS macro function.
> 
> Signed-off-by: Wonhong Kwon <wonhong.kwon at lge.com>

The patch itself looks good, but the description and the title should 
be updated.  The patch affects ehci_platform and ohci_platform, not 
ehci and ohci.

If you fix that up, you can add:

Acked-by: Alan Stern <stern at rowland.harvard.edu>

Alan Stern




More information about the linux-arm-kernel mailing list