From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Date: Tue, 31 Jul 2012 15:39:41 +0000 Subject: Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences Message-Id: <20120731153941.GF4468@opensource.wolfsonmicro.com> List-Id: References: <1343390750-3642-1-git-send-email-acourbot@nvidia.com> <1343390750-3642-2-git-send-email-acourbot@nvidia.com> <50170EA0.1010408@wwwdotorg.org> <5017B434.2010706@nvidia.com> <20120731105640.GD16155@avionic-0098.adnet.avionic-design.de> <20120731141328.GS4468@opensource.wolfsonmicro.com> <20120731142216.GA19591@avionic-0098.adnet.avionic-design.de> <20120731142607.GV4468@opensource.wolfsonmicro.com> <20120731143235.GA21126@avionic-0098.adnet.avionic-design.de> In-Reply-To: <20120731143235.GA21126-RM9K5IK7kjIyiCvfTdI0JKcOhU4Rzj621B7CTYaBSLdn68oJJulU0Q@public.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Thierry Reding Cc: "linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Stephen Warren , Greg Kroah-Hartman , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rob Herring , Alex Courbot , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" On Tue, Jul 31, 2012 at 04:32:35PM +0200, Thierry Reding wrote: > On Tue, Jul 31, 2012 at 03:26:07PM +0100, Mark Brown wrote: > > This is framework code - it doesn't have much option. Disabling HOTPLUG > > is totally reasonable on space constrained systems, there's no reason > > for the code to break things for people. > Still if you use this code and disable HOTPLUG, then you shouldn't be > using modules either. I mean there is no way you can write a driver that Of course. > can gracefully handle its platform data being discarded. Sure there is - take a copy of the platform data in probe().