[i2c] new style i2c client problem: probe () is not called

Darius augulis.darius at gmail.com
Tue May 13 12:20:24 CEST 2008


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.




More information about the i2c mailing list