From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiraz Hashim Subject: Re: [PATCH] i2c/designware: dw_i2c_init_driver as subsys initcall Date: Wed, 16 Nov 2011 10:57:19 +0530 Message-ID: <20111116052718.GE2286@DLH10011> References: <1321419487-2353-1-git-send-email-pratyush.anand@st.com> <20111116051440.GA3142@sapphire.tkos.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <20111116051440.GA3142-MwjkAAnuF3khR1HGirfZ1z4kX+cae0hd@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Baruch Siach Cc: Pratyush ANAND , "linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Armando VISCONTI , Vipin KUMAR , Rajeev KUMAR , Deepak SIKRI , Vipul Kumar SAMAR , Amit VIRDI , Viresh KUMAR , Bhupesh SHARMA , Bhavna YADAV , Vincenzo FRASCINO , Mirko GARDI List-Id: linux-i2c@vger.kernel.org Hi Baruch, On Wed, Nov 16, 2011 at 01:14:41PM +0800, Baruch Siach wrote: > Hi Pratyush Anand, > > On Wed, Nov 16, 2011 at 10:28:07AM +0530, Pratyush Anand wrote: > > There are few drivers(for example stmpe-gpio) which are available on i2c > > bus but has been initialized as subsys initcall. Therefore i2c driver > > must also be initialized as subsys initcall. > > > > Signed-off-by: Pratyush Anand > > --- > > NAK. > > Dependency problem like this one should be solved using the probe deferral > mechanism, when it's merged > (http://thread.gmane.org/gmane.linux.ports.arm.omap/65436). Sprinkling those > really_really_early_initcall() all over the place is unreasonable IMO. Being a bus driver in this particular case, don't you think that it should explicitly appear before devices using this bus. -- regards Shiraz