From: Felipe Balbi Subject: Re: [PATCH 8/9 v3] usb : musb: Using runtime pm apis for musb. Date: Fri, 24 Sep 2010 13:56:46 +0300 Message-ID: <20100924105646.GT8365@legolas.emea.dhcp.ti.com> References: <1285201830-26561-1-git-send-email-hemahk@ti.com> <20100923063604.GE2563@legolas.emea.dhcp.ti.com> <87wrqc4gwd.fsf@deeprootsystems.com> <87fwx02wl5.fsf@deeprootsystems.com> <20100924084344.GJ8365@legolas.emea.dhcp.ti.com> Reply-To: balbi-l0cyMroinI0@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Kalliguddi, Hema" Cc: "Balbi, Felipe" , Kevin Hilman , "linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "Basak, Partha" , Tony Lindgren , "Cousson, Benoit" , Paul Walmsley List-Id: linux-omap@vger.kernel.org Hi, On Fri, Sep 24, 2010 at 04:28:35AM -0500, Kalliguddi, Hema wrote: >I just noticed one more think in the code. there are suspend/resume >function pointers in platform_driver structure. Why can't we use these >for platform specific operations like enable/disable clocks, context >save/restore? For doing that properly, we first need to split the HW glue layer to another parent platform_device/driver. Otherwise, we will have all sorts of crazy stuff to change the function pointer depending on the ARCH. -- balbi -- 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