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
On 2013年01月04日 23:53, Alan Stern wrote:
> On Fri, 4 Jan 2013, Lan Tianyu wrote:
>
>> This patch is to add runtime pm callback for usb port device.
>> Set/clear PORT_POWER feature in the resume/suspend callbak.
>> Add portnum for struct usb_port to record port number. Do
>> pm_rumtime_get_sync/put(
On Fri, 4 Jan 2013, Lan Tianyu wrote:
> This patch is to add runtime pm callback for usb port device.
> Set/clear PORT_POWER feature in the resume/suspend callbak.
> Add portnum for struct usb_port to record port number. Do
> pm_rumtime_get_sync/put(portdev) when a device is plugged/unplugged
> to
This patch is to add runtime pm callback for usb port device.
Set/clear PORT_POWER feature in the resume/suspend callbak.
Add portnum for struct usb_port to record port number. Do
pm_rumtime_get_sync/put(portdev) when a device is plugged/unplugged
to prevent it from being power off when it is activ