Felipe, > -----Original Message----- > From: Balbi, Felipe > Sent: Monday, March 23, 2015 7:37 PM > To: Liu, Bin > Cc: linux-usb@vger.kernel.org; Balbi, Felipe > Subject: Re: [PATCH] usb: musb: do not backup/restore registers in runtime PM > callbacks > > On Mon, Mar 23, 2015 at 04:52:54PM -0500, Bin Liu wrote: > > The MUSB controller does not lost power during runtime suspend/resume, > > so unnecessary to backup/restore its registers. > > > > Signed-off-by: Bin Liu <b-...@ti.com> > > are you sure this is true for *all* users of musb ?
Well, I am not 100% sure, so posted this patch for comments ;) I checked MUSB only lost power during system suspend, in which case musb_suspend/resume() are already called to backup/resume MUSB registers. Regards, -Bin. > > -- > balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html