Skip to contentSkip to conversation

Please revert this patch

DISCUSSION Benjamin Herrenschmidt 1 participant 1 message Aug 26, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Linux !

Please revert that for now, I need to figure out what they were exactly trying to do and will come up with something if it makes sense but the patch as-is doesn't.

Thanks,
Ben.

Quoted 32 lines · Linux Kernel Mailing List

ChangeSet 1.1870.2.2, 2004/08/25 13:21:22-07:00, [email protected]

[PATCH] I2C: keywest class

This is needed for iBook2 owners to be able to use their ADM1030 hardware monitoring chip. Successfully tested by one user.

 i2c-keywest.c |    2 ++
 1 files changed, 2 insertions(+)

diff -Nru a/drivers/i2c/busses/i2c-keywest.c b/drivers/i2c/busses/i2c-keywest.c

drivers/i2c/busses/i2c-keywest.c +2 -1
@@ -618,6 +618,8 @@
 		chan->iface = iface;
 		chan->chan_no = i;
 		chan->adapter.id = I2C_ALGO_SMBUS;
+		if (i==1)
+			chan->adapter.class = I2C_CLASS_HWMON;
 		chan->adapter.algo = &keywest_algorithm;
 		chan->adapter.algo_data = NULL;
 		chan->adapter.client_register = NULL;
-

To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Benjamin Herrenschmidt <[email protected]>