Hi, On Tue, Sep 21, 2010 at 02:07:23PM +0800, jgq516@xxxxxxxxx wrote: > From: Xiao Jiang <jgq516@xxxxxxxxx> > > The following changes are ensure at24 driver can be probed successfully, > which are based on Linux 2.6.36-rc5. > 1. Add class, detect and address_list member in at24_driver because they > will be check in i2c_detect(). NAK. You would be attaching the driver to every chip in that address list. Most EEPROMs are simply not probable, that's why it is not done in the driver. > 2. Since the at24 driver are tightly coupled with i2c bus driver, make > sure it's init priority is lower than i2c bus. Can you describe a scenario where the current method fails? Regards, Wolfram -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
Attachment:
signature.asc
Description: Digital signature