[i2c] [PATCH] Add a new-style driver for most I2C EEPROMs
Wolfram Sang
w.sang at pengutronix.de
Wed Jun 4 13:51:35 CEST 2008
On Tue, Jun 03, 2008 at 11:19:27PM +0200, Jean Delvare wrote:
> I agree that in theory something wrong could happen in the current
> state of things if the extra addresses of the 24C00 chip are not
> "protected" by the at24 driver, but in practice I very much doubt that
> it'll happen, and if it does, it would be easy to fix. So I reiterate
> that the at24 driver doesn't need to handle this.
After removing i2c_addr_mask, it turned out that it just needed one
if-case and anonther flag to handle the 24c00-quirk. Hoping that this
will be the only case needing such treatment ;), I think it is worth the
price.
Sidenote: I just finished hacking in all points from my to-do-list. Now,
I want to validate the implicit casts and give the driver some really
good testing as some parts had to be rewritten for v3.
All the best,
Wolfram
--
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.lm-sensors.org/pipermail/i2c/attachments/20080604/77102ba8/attachment.bin
More information about the i2c
mailing list