* [PATCH] i2c/max6875: Really prevent 24RF08 corruption
@ 2008-05-17 11:23 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2008-05-17 11:23 UTC (permalink / raw)
To: Linux I2C
i2c-core takes care of the possible corruption of 24RF08 chips for
quite some times, so device devices no longer need to do it. And they
really should not, as applying the prevention twice voids it.
I thought that I had fixed all drivers long ago but apparently I had
missed that one.
Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Ben Gardner <bgardner-ohtLXRgXiI/QT0dZR+AlfA@public.gmane.org>
---
This one should go in 2.6.26.
drivers/i2c/chips/max6875.c | 3 ---
1 file changed, 3 deletions(-)
--- linux-2.6.26-rc2.orig/drivers/i2c/chips/max6875.c 2008-04-17 04:49:44.000000000 +0200
+++ linux-2.6.26-rc2/drivers/i2c/chips/max6875.c 2008-05-17 12:34:59.000000000 +0200
@@ -207,9 +207,6 @@ static int max6875_detect(struct i2c_ada
fake_client->flags = 0;
strlcpy(fake_client->name, "max6875 subclient", I2C_NAME_SIZE);
- /* Prevent 24RF08 corruption (in case of user error) */
- i2c_smbus_write_quick(real_client, 0);
-
if ((err = i2c_attach_client(real_client)) != 0)
goto exit_kfree2;
--
Jean Delvare
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-17 11:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-17 11:23 [PATCH] i2c/max6875: Really prevent 24RF08 corruption Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox