From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darius Subject: new style i2c client problem: probe () is not called Date: Tue, 13 May 2008 13:20:24 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: i2c-bounces-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org Errors-To: i2c-bounces-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org To: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org List-Id: linux-i2c@vger.kernel.org I'm writing i2c client driver. I have writen my own i2c adapter driver. For testing, I have one small LCD driver, that is writen in "legacy" driver model. It works ok - does attach client, dettach adapter, detects my LCD on i2c bus, transmits data... But when I use the same adapter driver with new style i2c client, it only registers new client driver to i2c-core, but does not call probe() function. What I'm doing wrong? I set up i2c_board_info in board init function. Should I somewhere call i2c_new_device()? Darius. _______________________________________________ i2c mailing list i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org http://lists.lm-sensors.org/mailman/listinfo/i2c