Re: [PATCH v2 06/14] USB: centralize usb port power policy

2013-11-26 Thread Dan Williams
On Tue, Nov 26, 2013 at 11:40 AM, Oliver Neukum wrote: > On Mon, 2013-11-25 at 11:05 -0800, Dan Williams wrote: >> On Mon, Nov 25, 2013 at 3:33 AM, Oliver Neukum wrote: >> > On Fri, 2013-11-22 at 12:18 -0800, Dan Williams wrote: >> >> On Fri, Nov 22, 2013 at 2:39 AM, Oliver Neukum wrote: >> >> >

Re: [PATCH v2 06/14] USB: centralize usb port power policy

2013-11-26 Thread Oliver Neukum
On Mon, 2013-11-25 at 11:05 -0800, Dan Williams wrote: > On Mon, Nov 25, 2013 at 3:33 AM, Oliver Neukum wrote: > > On Fri, 2013-11-22 at 12:18 -0800, Dan Williams wrote: > >> On Fri, Nov 22, 2013 at 2:39 AM, Oliver Neukum wrote: > >> > On Fri, 2013-11-22 at 01:07 -0800, Dan Williams wrote: > >> >

Re: [PATCH v2 06/14] USB: centralize usb port power policy

2013-11-25 Thread Dan Williams
On Mon, Nov 25, 2013 at 3:33 AM, Oliver Neukum wrote: > On Fri, 2013-11-22 at 12:18 -0800, Dan Williams wrote: >> On Fri, Nov 22, 2013 at 2:39 AM, Oliver Neukum wrote: >> > On Fri, 2013-11-22 at 01:07 -0800, Dan Williams wrote: >> >> Move all port power policy evaluation to usb_port_runtime_suspe

Re: [PATCH v2 06/14] USB: centralize usb port power policy

2013-11-25 Thread Oliver Neukum
On Fri, 2013-11-22 at 12:18 -0800, Dan Williams wrote: > On Fri, Nov 22, 2013 at 2:39 AM, Oliver Neukum wrote: > > On Fri, 2013-11-22 at 01:07 -0800, Dan Williams wrote: > >> Move all port power policy evaluation to usb_port_runtime_suspend(). > >> Makes it clearer what blocks port power off and i

Re: [PATCH v2 06/14] USB: centralize usb port power policy

2013-11-22 Thread Dan Williams
On Fri, Nov 22, 2013 at 2:39 AM, Oliver Neukum wrote: > On Fri, 2013-11-22 at 01:07 -0800, Dan Williams wrote: >> Move all port power policy evaluation to usb_port_runtime_suspend(). >> Makes it clearer what blocks port power off and is preparation for >> follow on changes that >> 1/ make a usb_po

Re: [PATCH v2 06/14] USB: centralize usb port power policy

2013-11-22 Thread Oliver Neukum
On Fri, 2013-11-22 at 01:07 -0800, Dan Williams wrote: > Move all port power policy evaluation to usb_port_runtime_suspend(). > Makes it clearer what blocks port power off and is preparation for > follow on changes that > 1/ make a usb_port a proper (device model) parent >of a usb_device > 2/ a

[PATCH v2 06/14] USB: centralize usb port power policy

2013-11-22 Thread Dan Williams
Move all port power policy evaluation to usb_port_runtime_suspend(). Makes it clearer what blocks port power off and is preparation for follow on changes that 1/ make a usb_port a proper (device model) parent of a usb_device 2/ advertise to userspace what constraints are keeping a port powere