Re: [PATCH] usb: dwc3: pci: add CONFIG_PM_SLEEP to suspend/resume functions

2013-08-02 Thread Felipe Balbi
Hi, On Fri, Aug 02, 2013 at 04:33:12PM +0900, Jingoo Han wrote: Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. This is because sleep PM callbacks defined by SET_SYSTEM_SLEEP_PM_OPS are only used when the CONFIG_PM_SLEEP

Re: [PATCH] usb: dwc3: pci: add CONFIG_PM_SLEEP to suspend/resume functions

2013-08-02 Thread Jingoo Han
On Friday, August 02, 2013 4:38 PM, Felipe Balbi wrote: On Fri, Aug 02, 2013 at 04:33:12PM +0900, Jingoo Han wrote: Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. This is because sleep PM callbacks defined by

Re: [PATCH] usb: dwc3: pci: add CONFIG_PM_SLEEP to suspend/resume functions

2013-08-02 Thread Felipe Balbi
On Fri, Aug 02, 2013 at 04:47:04PM +0900, Jingoo Han wrote: On Friday, August 02, 2013 4:38 PM, Felipe Balbi wrote: On Fri, Aug 02, 2013 at 04:33:12PM +0900, Jingoo Han wrote: Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not

Re: [PATCH] usb: dwc3: pci: add CONFIG_PM_SLEEP to suspend/resume functions

2013-08-02 Thread Jingoo Han
On Friday, August 02, 2013 4:50 PM, Felipe Balbi wrote: On Fri, Aug 02, 2013 at 04:47:04PM +0900, Jingoo Han wrote: On Friday, August 02, 2013 4:38 PM, Felipe Balbi wrote: On Fri, Aug 02, 2013 at 04:33:12PM +0900, Jingoo Han wrote: [...] -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP

Re: [PATCH] usb: dwc3: pci: add CONFIG_PM_SLEEP to suspend/resume functions

2013-08-02 Thread Felipe Balbi
Hi, On Fri, Aug 02, 2013 at 05:04:17PM +0900, Jingoo Han wrote: On Friday, August 02, 2013 4:50 PM, Felipe Balbi wrote: On Fri, Aug 02, 2013 at 04:47:04PM +0900, Jingoo Han wrote: On Friday, August 02, 2013 4:38 PM, Felipe Balbi wrote: On Fri, Aug 02, 2013 at 04:33:12PM +0900, Jingoo