RE: [Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-18 Thread Lan, Tianyu
: [Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type On Fri, 18 Jan 2013, Lan, Tianyu wrote: > HI Alan: > I just find Rafael's patch has resolved this issue. In this > patch, > enable runtime PM right after executing

RE: [Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-18 Thread Alan Stern
On Fri, 18 Jan 2013, Lan, Tianyu wrote: > HI Alan: > I just find Rafael's patch has resolved this issue. In this > patch, enable runtime PM > right after executing subsystem/driver .resume_early() callbacks. When do > resume(), > the device's runtime pm has been enabled. This patch

RE: [Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-18 Thread Lan, Tianyu
Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type On Fri, 18 Jan 2013, Lan Tianyu wrote: > > By the way, have you checked whether the auto-power-off mechanism > > works correctly when you do a system suspend? > > > Thanks for reminder. I

Re: [Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-18 Thread Alan Stern
On Fri, 18 Jan 2013, Lan Tianyu wrote: > > By the way, have you checked whether the auto-power-off mechanism works > > correctly when you do a system suspend? > > > Thanks for reminder. I test this today and find an issue. If usb device > was powered off during runtime, pm_runtime_get_sync() in

Re: [Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-18 Thread Lan Tianyu
On 2013年01月16日 23:45, Alan Stern wrote: > On Tue, 15 Jan 2013, Lan Tianyu wrote: > >> Hi Greg&Alan: >> Do you have some more comments about this patchset? Thanks. > > I don't have any more comments at this point. It looks okay to me. > > Acked-by: Alan Stern > > By the way, have you chec

Re: [Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-16 Thread Alan Stern
On Tue, 15 Jan 2013, Lan Tianyu wrote: > Hi Greg&Alan: > Do you have some more comments about this patchset? Thanks. I don't have any more comments at this point. It looks okay to me. Acked-by: Alan Stern By the way, have you checked whether the auto-power-off mechanism works correctly

Re: [Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-14 Thread Lan Tianyu
On 2013年01月11日 20:10, Lan Tianyu wrote: > Change since v1: >optimize the export connect type patch and adjust the DeviceRemovalbe > flag > in the rh_call_control() after GetHubDescriptor request being processed. >move all debounce operation to usb port's runtime resume callback().

[Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-11 Thread Lan Tianyu
Change since v1: optimize the export connect type patch and adjust the DeviceRemovalbe flag in the rh_call_control() after GetHubDescriptor request being processed. move all debounce operation to usb port's runtime resume callback(). Add did_runtime_put in the struct usb_port to call