From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: Changes to power management in ehci-tegra Date: Wed, 18 Apr 2012 15:45:44 -0600 Message-ID: <4F8F3608.5030005@wwwdotorg.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alan Stern Cc: Benoit Goby , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, USB list List-Id: linux-tegra@vger.kernel.org On 04/18/2012 02:47 PM, Alan Stern wrote: ... > Are you sure the controllers aren't getting suspending under the > current driver? It seems like they ought to be -- otherwise there > would be no point in defining power_down_on_bus_suspend. Ah. The ports are getting suspended (when nothing is plugged in), and tegra_ehci_bus_suspend() is returning 0. However, as soon as any port is suspended, it resumes immediately. I guess that's why plugging something in works even after the controller is suspended; it keeps waking up and is essentially polling for any plugged-in device. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html