From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757359AbZEKL2S (ORCPT ); Mon, 11 May 2009 07:28:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754313AbZEKL2F (ORCPT ); Mon, 11 May 2009 07:28:05 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:46672 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754054AbZEKL2E (ORCPT ); Mon, 11 May 2009 07:28:04 -0400 Date: Mon, 11 May 2009 12:28:01 +0100 From: Mark Brown To: Michael Abbott Cc: ???? , linux-i2c@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH 2.6.29.2] PXA I2C: Define log level for i2c PXA error report Message-ID: <20090511112801.GA20283@sirena.org.uk> References: <20090506102202.73d6045d@hyperion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: Life is like a simile. User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 11, 2009 at 11:31:51AM +0100, Michael Abbott wrote: > static struct i2c_pxa_platform_data xcep_i2c_platform_data = { > .class = I2C_CLASS_HWMON > }; > ... > pxa_set_i2c_info(&xcep_i2c_platform_data); > This is called in the .init_machine method, and the target system is a > PXA255. > However, after the error messages on startup, all the sensors seem to be > detected and seem to be operating normally. These errors occur when attempting to talk to non-existant devices which is almost certainly going to happen with the class based device probing since the kernel will probe for each device at each possible address on each I2C bus.