On Thu, Jan 24, 2013 at 10:45 AM, Chen Peter-B29397
<b29...@freescale.com> wrote:
>
> I also agree with no auto suspend occur during the resume signal is active.

Yes, I agree too.

>
> But one think I still can't understand that you add
> usb_autopm_get_interface_no_resume(
>                 to_usb_interface(hub->intfdev));
> the purpose should be avoid hub's auto-suspend.
>
> But why the hub's suspend still occurs after calling it, see below log?

Please see below comment in the hub_events(), :-)

            /* Balance the usb_autopm_get_interface_no_resume() in
             * kick_khubd() and allow autosuspend.
             */

Alan mentioned that we may add one pm_runtime_get_noresume()
to avoid root-hub auto-suspend when it is sending ports resuming
signal from remote-wakeup.

Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to