All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darius <augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: new style i2c client problem: probe () is not called
Date: Tue, 13 May 2008 13:20:24 +0300	[thread overview]
Message-ID: <g0bqa9$b3$1@ger.gmane.org> (raw)

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

             reply	other threads:[~2008-05-13 10:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-13 10:20 Darius [this message]
2008-05-13 10:49 ` new style i2c client problem: probe () is not called Wolfram Sang
     [not found]   ` <20080513104921.GA4485-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2008-05-13 11:29     ` Darius
2008-05-13 12:13       ` Jean Delvare
     [not found]         ` <20080513141337.20068339-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-05-13 12:45           ` Darius
2008-05-13 12:56             ` Jean Delvare
     [not found]               ` <20080513145641.14522f5c-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-05-13 12:53                 ` Darius
2008-05-14 21:20             ` Ben Dooks
     [not found]               ` <20080514212006.GA16881-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>
2008-05-15  9:41                 ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g0bqa9$b3$1@ger.gmane.org' \
    --to=augulis.darius-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.