Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757002Ab3FSPXl (ORCPT ); Wed, 19 Jun 2013 11:23:41 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:59300 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756964Ab3FSPXk (ORCPT ); Wed, 19 Jun 2013 11:23:40 -0400 Date: Wed, 19 Jun 2013 11:23:39 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Roger Quadros cc: tony@atomide.com, , , , , , Subject: Re: [RFC PATCH 0/6] Suspend USB Host controller on bus suspend In-Reply-To: <1371650753-11452-1-git-send-email-rogerq@ti.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 27 On Wed, 19 Jun 2013, Roger Quadros wrote: > Hi, > > This series attempts to suspend the OMAP EHCI host controller on USB > Bus suspend. Why do you want to suspend the host controller during bus suspend? They are two different operations and should be carried out at two different times. The controller should be suspended during controller suspend, not during bus suspend. > As the omap-ehci controller driver needs to do some additional work to put > itself into suspend/resume and make sure it is resumed to process an interrupt, > we need to be able to override irq, bus_suspend, and bus_resume handlers. This > provision is done in patch 3. Do you still need to override these things if you do the controller suspend at the right time? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/