[PATCH 2.6] I2C: New hardware monitor driver: adm9240 (2nd try)
khali at linux-fr.org
Thu Apr 28 10:10:27 CEST 2005
> > reg = adm9240_read_value(client, ADM9240_REG_CONFIG);
> > adm9240_write_value(client, ADM9240_REG_CONFIG,
> > (reg | 0x01) & 0x7f);
> That would fail to start the measurement cycle (...)
How that? Bit 0 will be set to 1, which starts the measurement cycle,
exactly like your previous code did.
> and leave user-space able to assert a hardware interrupt signal,
I don't understand. What do you mean exactly?
> (...) plus it writes zero to bit 7 for what reason?
Because writing 1 instead would reset the chip, and you don't want to do
that, do you?
More information about the lm-sensors