mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-26 01:37:04 +00:00
@@ -269,8 +269,7 @@ static int accton_as6712_32x_fan_write_value(u8 reg, u8 value)
|
||||
static void accton_as6712_32x_fan_update_device(struct device *dev)
|
||||
{
|
||||
int speed, r_speed, fault, r_fault, direction, ctrl_speed;
|
||||
int i;
|
||||
int retry_count = 5;
|
||||
int i, retry_count;
|
||||
|
||||
mutex_lock(&fan_data->update_lock);
|
||||
|
||||
@@ -300,6 +299,8 @@ static void accton_as6712_32x_fan_update_device(struct device *dev)
|
||||
|
||||
for (i = 0; i < FAN_MAX_NUMBER; i++)
|
||||
{
|
||||
retry_count = 5;
|
||||
|
||||
/* Update fan data
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user