Re: [PATCH v2 Resend 9/9] usb: add usb_device_allow_power_off() function.

2013-01-05 Thread Alan Stern
On Sat, 5 Jan 2013, Lan Tianyu wrote: > On 2013年01月04日 23:59, Alan Stern wrote: > > On Fri, 4 Jan 2013, Lan Tianyu wrote: > > > >> Some usb devices can't be resumed correctly after power off. This > >> patch is to add usb_device_allow_power_off() for device's driver to allow > >> or > >> prohibi

Re: [PATCH v2 6/9] usb: add runtime pm support for usb port device

2013-01-05 Thread Alan Stern
On Sat, 5 Jan 2013, Lan Tianyu wrote: > > usb_port_runtime_resume can be called while the hub is suspended, > > right? So it needs to call usb_autopm_get_interface and > > usb_autopm_put_interface. > Current, I don't call pm_suspend_ignore_children(&intf->dev, true) in > the hub_probe(). So the h

Re: [PATCH] arm/davinci/musb: fix mispint introduced by commit 032ec49f5351e9cb242b1a1c367d14415043ab95

2013-01-05 Thread Sergei Shtylyov
On 12/22/2012 08:52 PM, Sergei Shtylyov wrote: >> please respin this patch with a real commit log. >And then, when referring to commit ID that broke da8xx.c don't forget to > also > specify the commit summmary in parens (or however you like). Also, please s/davinci/da8xx/ in the subject.

Re: [PATCH 1/2] usbnet: allow status interrupt URB to always be active

2013-01-05 Thread Bjørn Mork
Oliver Neukum writes: > On Friday 04 January 2013 19:26:33 Dan Williams wrote: > >> I'd previously done a patch to handle this all in sierra_net, but the >> problem there is suspend/resume: without directly accessing the usbnet >> structure's ->suspend_count member (icky!) sierra_net can't correct

Re: [PATCH 1/2] usbnet: allow status interrupt URB to always be active

2013-01-05 Thread Oliver Neukum
On Friday 04 January 2013 19:26:33 Dan Williams wrote: > On Fri, 2013-01-04 at 23:16 +0100, Oliver Neukum wrote: > > On Friday 04 January 2013 10:48:16 Dan Williams wrote: > > > Some drivers (ex sierra_net) need the status interrupt URB > > > active even when the device is closed, because they rece

Re: [PATCH 1/2] usbnet: allow status interrupt URB to always be active

2013-01-05 Thread Bjørn Mork
Dan Williams writes: > On Fri, 2013-01-04 at 23:16 +0100, Oliver Neukum wrote: >> On Friday 04 January 2013 10:48:16 Dan Williams wrote: >> > Some drivers (ex sierra_net) need the status interrupt URB >> > active even when the device is closed, because they receive >> > custom indications from fir