Re: [PATCH v3 2/3] usb: xhci: Add the suspend/resume functionality

2012-10-18 Thread Sarah Sharp
On Tue, Oct 16, 2012 at 12:59:33PM +0300, Felipe Balbi wrote: Hi, +#ifdef CONFIG_PM_SLEEP +static int xhci_plat_suspend(struct device *dev) +{ + struct usb_hcd *hcd= dev_get_drvdata(dev); + struct xhci_hcd *xhci = hcd_to_xhci(hcd); + + /* Make sure that the HCD Core

Re: [PATCH v3 2/3] usb: xhci: Add the suspend/resume functionality

2012-10-18 Thread Felipe Balbi
Hi, On Thu, Oct 18, 2012 at 07:59:56AM -0700, Sarah Sharp wrote: On Tue, Oct 16, 2012 at 12:59:33PM +0300, Felipe Balbi wrote: Hi, +#ifdef CONFIG_PM_SLEEP +static int xhci_plat_suspend(struct device *dev) +{ + struct usb_hcd *hcd= dev_get_drvdata(dev); + struct xhci_hcd

[PATCH v3 2/3] usb: xhci: Add the suspend/resume functionality

2012-10-16 Thread Vikas Sajjan
Adds power management support to XHCI platform driver. This patch facilitates the transition of xHCI host controller between S0 and S3/S4 power states, during suspend/resume cycles. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas C Sajjan vikas.saj...@linaro.org CC:

Re: [PATCH v3 2/3] usb: xhci: Add the suspend/resume functionality

2012-10-16 Thread Felipe Balbi
Hi, On Tue, Oct 16, 2012 at 03:15:37PM +0530, Vikas Sajjan wrote: Adds power management support to XHCI platform driver. This patch facilitates the transition of xHCI host controller between S0 and S3/S4 power states, during suspend/resume cycles. Signed-off-by: Abhilash Kesavan