Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-16 Thread chunfeng yun
On Wed, 2016-05-04 at 14:56 +0300, Felipe Balbi wrote: > Hi, > > chunfeng yun writes: > >> chunfeng yun writes: > >> > On Tue, 2016-05-03 at 12:33 +0300, Felipe Balbi wrote: > >> >> Hi, > >> >> > >> >> chunfeng yun writes: > >> >> >> chunfeng yun writes: > >> >> >> > On Thu, 2016-04-21 at 10:

Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-04 Thread Felipe Balbi
Hi, chunfeng yun writes: >> chunfeng yun writes: >> > On Tue, 2016-05-03 at 12:33 +0300, Felipe Balbi wrote: >> >> Hi, >> >> >> >> chunfeng yun writes: >> >> >> chunfeng yun writes: >> >> >> > On Thu, 2016-04-21 at 10:04 +0800, Chunfeng Yun wrote: >> >> >> >> Click mouse after xhci suspend c

Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-04 Thread chunfeng yun
Hi, On Wed, 2016-05-04 at 11:03 +0300, Felipe Balbi wrote: > Hi, > > chunfeng yun writes: > > On Tue, 2016-05-03 at 12:33 +0300, Felipe Balbi wrote: > >> Hi, > >> > >> chunfeng yun writes: > >> >> chunfeng yun writes: > >> >> > On Thu, 2016-04-21 at 10:04 +0800, Chunfeng Yun wrote: > >> >> >>

Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-04 Thread Felipe Balbi
Hi, chunfeng yun writes: > On Tue, 2016-05-03 at 12:33 +0300, Felipe Balbi wrote: >> Hi, >> >> chunfeng yun writes: >> >> chunfeng yun writes: >> >> > On Thu, 2016-04-21 at 10:04 +0800, Chunfeng Yun wrote: >> >> >> Click mouse after xhci suspend completion but before system suspend >> >> >> c

Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-03 Thread chunfeng yun
On Tue, 2016-05-03 at 12:33 +0300, Felipe Balbi wrote: > Hi, > > chunfeng yun writes: > >> chunfeng yun writes: > >> > On Thu, 2016-04-21 at 10:04 +0800, Chunfeng Yun wrote: > >> >> Click mouse after xhci suspend completion but before system suspend > >> >> completion, system will not be waken u

Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-03 Thread Felipe Balbi
Hi, chunfeng yun writes: >> chunfeng yun writes: >> > On Thu, 2016-04-21 at 10:04 +0800, Chunfeng Yun wrote: >> >> Click mouse after xhci suspend completion but before system suspend >> >> completion, system will not be waken up by mouse if the duration of >> >> them is larger than 20ms which i

Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-03 Thread chunfeng yun
On Tue, 2016-05-03 at 10:51 +0300, Felipe Balbi wrote: > Hi, > > chunfeng yun writes: > > On Thu, 2016-04-21 at 10:04 +0800, Chunfeng Yun wrote: > >> Click mouse after xhci suspend completion but before system suspend > >> completion, system will not be waken up by mouse if the duration of > >> t

Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-03 Thread Felipe Balbi
Hi, chunfeng yun writes: > On Thu, 2016-04-21 at 10:04 +0800, Chunfeng Yun wrote: >> Click mouse after xhci suspend completion but before system suspend >> completion, system will not be waken up by mouse if the duration of >> them is larger than 20ms which is the device UFP's resume signaling

Re: [PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-05-03 Thread chunfeng yun
Hi Mathias, On Thu, 2016-04-21 at 10:04 +0800, Chunfeng Yun wrote: > Click mouse after xhci suspend completion but before system suspend > completion, system will not be waken up by mouse if the duration of > them is larger than 20ms which is the device UFP's resume signaling > lasted. Another rea

[PATCH] usb: xhci-mtk: fixup mouse wakeup failure during system suspend

2016-04-20 Thread Chunfeng Yun
Click mouse after xhci suspend completion but before system suspend completion, system will not be waken up by mouse if the duration of them is larger than 20ms which is the device UFP's resume signaling lasted. Another reason is that the SPM is not enabled before system suspend compeltion, this ca