[PATCH 2.6] I2C: New hardware monitor driver: adm9240 (2nd try)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 28 Apr 2005 10:10:27 +0200 (CEST), "Jean Delvare" <khali at linux-fr.org> wrote:

>
>Hi Grant,
>
>> >	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 (...)

Besides lm_sensors 2.9.1 does:

/* Called when we have found a new ADM9240. */
static void adm9240_init_client(struct i2c_client *client)
{
        /* Start monitoring */
        adm9240_write_value(client, ADM9240_REG_CONFIG, 0x01);
}

--Grant.



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux