|
@@ -382,7 +382,8 @@ static int ltc4245_probe(struct i2c_client *client,
|
|
|
mutex_init(&data->update_lock);
|
|
|
|
|
|
/* Initialize the LTC4245 chip */
|
|
|
- /* TODO */
|
|
|
+ i2c_smbus_write_byte_data(client, LTC4245_FAULT1, 0x00);
|
|
|
+ i2c_smbus_write_byte_data(client, LTC4245_FAULT2, 0x00);
|
|
|
|
|
|
/* Register sysfs hooks */
|
|
|
ret = sysfs_create_group(&client->dev.kobj, <c4245_group);
|