Re: [PATCH] usb: musb: PM: fix context save/restore in suspend/resume path

2011-11-24 Thread Felipe Balbi
Hi, On Tue, Nov 22, 2011 at 05:18:24PM -0800, Kevin Hilman wrote: Currently the driver tries to save context in the suspend path, but will cause an abort if the device is already runtime suspended. This happens, for example, if MUSB loaded/compiled-in, in host mode, but no USB devices are

Re: [PATCH] usb: musb: PM: fix context save/restore in suspend/resume path

2011-11-24 Thread Felipe Balbi
Hi, On Tue, Nov 22, 2011 at 05:18:24PM -0800, Kevin Hilman wrote: Currently the driver tries to save context in the suspend path, but will cause an abort if the device is already runtime suspended. This happens, for example, if MUSB loaded/compiled-in, in host mode, but no USB devices are

[PATCH] usb: musb: PM: fix context save/restore in suspend/resume path

2011-11-22 Thread Kevin Hilman
Currently the driver tries to save context in the suspend path, but will cause an abort if the device is already runtime suspended. This happens, for example, if MUSB loaded/compiled-in, in host mode, but no USB devices are attached. MUSB will be runtime suspended, but then attempting a system