Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757150AbYFJJbb (ORCPT ); Tue, 10 Jun 2008 05:31:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752682AbYFJJbX (ORCPT ); Tue, 10 Jun 2008 05:31:23 -0400 Received: from 85-10-209-111.clients.your-server.de ([85.10.209.111]:38225 "EHLO mail.road.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751420AbYFJJbW (ORCPT ); Tue, 10 Jun 2008 05:31:22 -0400 From: Uli Luckas Organization: Road GmbH To: LKML Subject: Re: Frame buffers and early i2c Date: Tue, 10 Jun 2008 11:31:19 +0200 User-Agent: KMail/1.9.9 Cc: Jean Delvare , adaplas@gmail.com, Linux I2C , Ryan Mallon , David Brownell , Russell King - ARM Linux , Eric Miao References: <200806091647.42757.u.luckas@road.de> <200806092359.36080.u.luckas@road.de> <20080610082527.0e6d643a@hyperion.delvare> In-Reply-To: <20080610082527.0e6d643a@hyperion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806101131.19763.u.luckas@road.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2516 Lines: 72 On Tuesday, 10. June 2008, Jean Delvare wrote: > Hi Uli, > > On Mon, 9 Jun 2008 23:59:35 +0200, Uli Luckas wrote: > > On Monday 09 June 2008, Jean Delvare wrote: > > > Why don't you ask on the i2c mailing list? Cc added. > > > > I wanted to get i2c developers plus frame buffer and other i2c client > > developers involved. Crossposting to more then 2 lists seemed wrong. > > So you prefer to post to one random list than the two lists where your > target audience is? Interesting approach. If you really don't want to > post to two lists at once, just send two separate posts? > And have two seperate threads of communication??? lfml is where they all are and avery maintainer has different preferences. Anyway, I got your point and will come to the i2c list in the future if you prefere. > > I'll change the pxa i2c driver to subsys_initcall and try if that works > > when I get back to my desk tomorrow. > > I expect it to work, as apparently other platforms are doing exactly > that already. > Just changing the initcall to subsys really did the trick. I thought, this was the first thing I tried and I thought it crashed my device. But obviousely I had some other problem. If Russell gives his Ack, could this be pushed upstream through i2c? regards, Uli Initialize the pxa i2c bus during subsystem initialization to make it available during driver initialization (e.g. display powerup for pxafb). Signed-off-by: Uli Luckas --- drivers/i2c/busses/i2c-pxa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index eb69fba..78c0fc4 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c @@ -1134,5 +1134,5 @@ static void __exit i2c_adap_pxa_exit(void) MODULE_LICENSE("GPL"); MODULE_ALIAS("platform:pxa2xx-i2c"); -module_init(i2c_adap_pxa_init); +subsys_initcall(i2c_adap_pxa_init); module_exit(i2c_adap_pxa_exit); -- ------- ROAD ...the handyPC Company - - - ) ) ) Uli Luckas Software Development ROAD GmbH Bennigsenstr. 14 | 12159 Berlin | Germany fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69 url: www.road.de Amtsgericht Charlottenburg: HRB 96688 B Managing directors: Hans-Peter Constien, Hubertus von Streit -- 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/