RE: [PATCH] usb: musb: do not backup/restore registers in runtime PM callbacks

2015-03-24 Thread Liu, Bin
Felipe, > -Original Message- > From: Balbi, Felipe > Sent: Tuesday, March 24, 2015 11:33 AM > To: Liu, Bin > Cc: Balbi, Felipe; linux-usb@vger.kernel.org > Subject: Re: [PATCH] usb: musb: do not backup/restore registers in runtime PM > callbacks > > On Mon,

Re: [PATCH] usb: musb: do not backup/restore registers in runtime PM callbacks

2015-03-24 Thread Felipe Balbi
On Mon, Mar 23, 2015 at 08:40:58PM -0500, Liu, Bin wrote: > 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

RE: [PATCH] usb: musb: do not backup/restore registers in runtime PM callbacks

2015-03-23 Thread Liu, Bin
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 2

Re: [PATCH] usb: musb: do not backup/restore registers in runtime PM callbacks

2015-03-23 Thread Felipe Balbi
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 are you sure this is true for *all* users of musb ? -- balbi signature.asc Descriptio

[PATCH] usb: musb: do not backup/restore registers in runtime PM callbacks

2015-03-23 Thread Bin Liu
The MUSB controller does not lost power during runtime suspend/resume, so unnecessary to backup/restore its registers. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_core.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/mu